I am using an RPA smart service within my process model.I pass through data to the RPA Smart Service which a bot will run to retireve data from a 3rd party application. PolicyNumberThe goal is to pull that information (policyNumber) out of the robotic task to use in the rest of the process model. At the moment the bot successfully captures and stores the data in the Variable, but on the Process Model side, it is still showing 'no value'.
The result of the variable on the robotic task after a successful run:I've attempted to call a process model within the robotic task but currently the task hangs on database writes when using initiator or a user with admin rights across all applications as the assignment. (I can see the pulled through data from the robot in this called process model)Any assistance on helping to retireve this text string or even persisting this data would be greatly appriciated.
Discussion posts and replies are publicly visible
And I think that this "Write Records" node should not be assigned to a person, but run by the system.
You're right. This was an attempt to see if a permessions thing was an issue. It is assigned to to the initiator at the moment.This is my attempt with using CDT's instead. (Same PM just a different approach to try find a solution)
This is still wrong. These nodes must be run as an automated activity.
But then, where are you actually stuck? Are you still trying to fetch that serial number from the robotic task? If yes, trying to start a model from the robot does not feel like the right way to go.
My approach would be to create an Appian process model. This model runs that robotic task, fetching that serial number.
The initial idea was to pass the retrieved number back out of the Smart Service. The PM above was an attempted work around to try get the bot to initiate a PM because it can feed the number easily.Our perfect solution would be to retrieve the variable from the Bot Smart Service and continue one with the PM that called the Bot Smart Service.This is the hope. I can't seem to retrieve the information out of the Robotic Task from the Smart Service.
OK. Then I suggest to create a minimum research model+bot, just to understand how to pass data from a process to the bot and back.
I shall attempt that again. I was hoping to see what is causing my issues for this.My understanding would be that the Smart Service would pass back the information when the variable in the Robotic task is updated, through the 'Save Into' on the data tab, inputs.
I cannot give you the exact answer. My experience with RPA limited. But yes, that's the idea.
And solving such problems always means to reduce complexity until things start to work. Then understand, and then add more things one step at a time. This is how I work each of my more than 5400 days with Appian.