How to pass argument/data to processes using REST API?

Hi All,

Our requirement is to run same process on same robot with different argument each time it run.
we have tried this by using Per robot asset and update it each time before starting the job using REST API.
It works fine if first job gets finish and then update asset and run REST API to start the next job. But if we fire next job before finishing the first job it overwrites the asset which is creating an issue.
Can you please suggest a solution for this.


I have this question too.

I have used queue to achieve my requirement and it works.
Prashant Gautam