While working on Oracle process cloud service we need to display data in form. One of the very common input type is List of value, which also does not require validation of input in most of the cases.
In process cloud service there two kind of list of values one
1. Static List of values
2. Dynamic List of values
Static list can be easily created in the form as given below this is very simple option names are the name will be visible to users and option values are values which will be updated to payload.
Dynamic list of values are values which are form fetch at run time and displayed to user, these list can be filtered based on the other values provided in the form, provided your rest service provide this option.
You need to configured a integration before making such LOV. Hence first configure the connector, wich is nothing but the connection information for the rest service.
Once connector is been configured then you need to choose the connector, if there are multiple resource add your resource here and then selection the operations, all the options came from the connector which you have configured in the connector.
Once all the connector related information been configured. Now select the response.items as these are the list of the items which rest service gave as output. Now from the result array you need to select wich item will be value and which item will be displayed to the user.
Now we can configured everything, post this lest test the form, the only problem I see with the Dynamic list is can not be directly tested in the preview. Hence we need to test using the activation. First activate the form using the test button and then run it, you can see the LOV working.
In process cloud service there two kind of list of values one
1. Static List of values
2. Dynamic List of values
Static list of values:
Static list can be easily created in the form as given below this is very simple option names are the name will be visible to users and option values are values which will be updated to payload.
Dynamic List of Values
Dynamic list of values are values which are form fetch at run time and displayed to user, these list can be filtered based on the other values provided in the form, provided your rest service provide this option.
You need to configured a integration before making such LOV. Hence first configure the connector, wich is nothing but the connection information for the rest service.
Once connector is been configured then you need to choose the connector, if there are multiple resource add your resource here and then selection the operations, all the options came from the connector which you have configured in the connector.
Once all the connector related information been configured. Now select the response.items as these are the list of the items which rest service gave as output. Now from the result array you need to select wich item will be value and which item will be displayed to the user.
Now we can configured everything, post this lest test the form, the only problem I see with the Dynamic list is can not be directly tested in the preview. Hence we need to test using the activation. First activate the form using the test button and then run it, you can see the LOV working.
No comments:
Post a Comment