Hi, I have created a Robotic Task and I am able to save data from some attributes in variables of Robotic Task. I have created a process model and called "Execute Robotic Task" smart service to run this task. I want to get this output variables from my robotic task in my process model variables. How to do that?
Discussion posts and replies are publicly visible
Find the variables in "Variables" map in the output.
docs.appian.com/.../Execute_Robotic_Task.html
You can use output node of execute robotic task to save the variables. https://docs.appian.com/suite/help/25.2/rpa-9.15/robotic-task-variables.html#retrieving-results and do the necessary parsing from your end
Thanks! I tried it but I am getting all variables data in single variable. Is there any way we can get output in different pv of process model as per the values stored in robotic task? And one of the variables I stored in Robotic Task is of type CDT and the value returned in the process model variable is in map type. Is this expected behavior or we should get the value in CDT type only?
You can just assign the individual fields in the map to whatever PVs you need. And assigning a Map to a CDT should just work, as long as the field names match.
No you can't get individual variables as of now.
Mayuri Mestry said:Thanks! I tried it but I am getting all variables data in single variable. Is there any way we can get output in different pv of process model as per the values stored in robotic task?
Yes it's expected behavior , just like stefan mentioned above assign individual fields in Map to relevant PVs
Mayuri Mestry said:And one of the variables I stored in Robotic Task is of type CDT and the value returned in the process model variable is in map type. Is this expected behavior or we should get the value in CDT type only?