cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
583
Views
4
Helpful
3
Replies

Retrieve workflow input field types of UCSD workflow

rrampall
Cisco Employee
Cisco Employee

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

1 Accepted Solution

Accepted Solutions

Orf Gelbrich
Cisco Employee
Cisco Employee

all API calls are in the rest api browser

Screen Shot 2017-03-08 at 5.07.45 PM.png

View solution in original post

3 Replies 3

Orf Gelbrich
Cisco Employee
Cisco Employee

all API calls are in the rest api browser

Screen Shot 2017-03-08 at 5.07.45 PM.png

rrampall
Cisco Employee
Cisco Employee

Thankyou so much. I could figure that out myself after playing around with the ucsd console . Thanks btw

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

Getting Started

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:

Cisco UCS X-Series Energy Efficiency Offer