ā02-27-2017 08:46 AM - edited ā03-01-2019 06:23 AM
Hi there,
I am looking to retrieve the "WorkflowInputFieldTypeDeclaration" of the input fields of a workflow. Can you please let me know how can I get the same using the REST API.
I used the ucsd-rest-api-sdk-3.jar and did the following to extract the WorkflowInputFieldDefinition
CuicServer server = CuicServer.getAPI("<serverip>"), "<password>", "http", 80)
UserAPIGlobal instance = new UserAPIGlobal(server);
instance.userAPIExportWorkflows(ā<workflowNameā).getWorkflowDefinitonsMap().get(āworkflowNameā).workflowInputFieldDefinitions
Although there is an accessor for "type" in WorkflowInputFieldDefinition, I am not clear on how to use it to get the FieldTypeDeclaration.
(I am interested in getting the LOVProvider for a particular field)
Thanks
Solved! Go to Solution.
ā03-08-2017 03:08 PM
all API calls are in the rest api browser
ā03-08-2017 03:08 PM
all API calls are in the rest api browser
ā03-08-2017 09:30 PM
Thankyou so much. I could figure that out myself after playing around with the ucsd console . Thanks btw
ā03-09-2017 05:28 AM
Unfortunately the Rest API screen is well hidden. Glad you managed to get to it.
Also the SDK info is here
UCSD documentation
https://[yourUCSD IP]/app/javadocs/index-all.html
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: