I am using the webservice component to get the sessionid and the URL of the salesforce. The output is stored in the dictionary content using the “SetJobOutput” component. In another graph, I am using the “GetJobInput” component to retrieve the session ID and URL.
The issue is, the session ID and URL are coming as NULL when I tried to get those values using the “GetJobInput” component. Could you please let me know how to use the “GetJobInput” correctly.
Is the “another graph” directly executed by the first one by JobFlow’s ExecuteGraph/ExecuteJobFlow component on CloverETL Server? Can you prepare sample graphs for us?
I am not using the jobflow. Using my first graph, I logged into the salesforce and got the session. In the second graph, I am trying to use that session.
Do I need to use the jobflow to use the dictionary feature.
Using of JobFlow components in this case would be the best solution. You should keep in mind that dictionaries are private for all graphs. Components SetJobOutput and GetJobInput are only working with these private entries (it only saves the value to private dictionary). In order to pass these values to dictionary of another graph you have to use use either ExecuteGraph or ExecuteJobFlow component. These components have Input and Output mapping attributes in which you can map dictionary entries from one graph to another.
Regarding this particular case, you can find similar sample of working with SalesForce in our JobFlowExamples right in CloverETL Designer (06-ExternalInteraction-SalesforceWebServices.jbf).