Page 1 / 1
Hi
Thank you for your question about the Workday command package. I’m Vineet and I product manage the Workday command package and happy to assist with the issue you are having.
Based on the screenshots you provided, it appears that the error is caused by assigning the List iteration’s value to a string variable instead of a dictionary variable. The following steps will help you to solve the problem and execute your automation successfully.
- The Get Report action returns a List of type Any.
- When the report format is selected as ‘Simple Xml’, the response would look like below-
- When the report format is selected as ‘Workday Xml’, the response would look like below-
- You may assign the List iteration’s current value to a dictionary variable to solve the issue you are facing.
- There are instances when you are not sure of the datatype in the List response. In those instances, you may use the variable type ANY and use the debugger to see what the response type is (dictionary, list, etc.) and then use the corresponding variable type to store the response.
I hope this helps. If you have any questions or feedback, feel free to reply to this post. I’d love to understand more about the use cases you are working on with the Workday command package.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.