Question
4
Replies
448
Views
Accenture Solutions Pvt Ltd
Posted: February 9, 2017
Last activity: July 19, 2018
Closed
Solved
Interaction Framework Doubts in Openspan
Hi,
Actually i was confused in when to use Activity methods StartActivity & StartActivityForKey,what is the difference b/w Activity & RobotActivity?
Regards,
Pravallika.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
StartActivity is how you would start an activity not associated with an interaction. StartActivityWithKey allows you to start an activity and have it be associated with an interaction. This comes in handy when you want to update a context during the activity as you can use the key provided at start to do update the correct one. In addition, closing an interaction can be initiated to cancel all running activities associated with the context.
A RobotActivity is what you would use when using the Pega Robotics Console in PRPC to communicate to the RPA process.