RobilityAI®

Header Example

Robility® Forum

Unleash your potential – connect, collaborate, and automate with our powerful solutions.

Workflow does not s...
 
Notifications
Clear all

Workflow does not stop on VM

4 Posts
2 Users
0 Reactions
254 Views
Posts: 31
Robility Support Team
Topic starter
(@admin)
Member
Joined: 1 year ago

Workflow does not stop even after using the GetStopStatus activity on the VM. What could be the cause, and how can I address it?

Reply
Topic Tags
3 Replies
Posts: 73
Robility Support Team
(@abidurai)
Member
Joined: 1 year ago

@abi-nandhan his issue can occur when the GetStopStatus activity is unable to respond to the stop command because the workflow is stuck in a loop or a long-running transaction. If the bot is in this state, it may not reach a point where it can check for the stop status or exit gracefully.

Reply
Posts: 31
Robility Support Team
Topic starter
(@admin)
Member
Joined: 1 year ago

@abidurai What actions can I take to resolve this issue?

Reply
Posts: 73
Robility Support Team
(@abidurai)
Member
Joined: 1 year ago

@abi-nandhan

You can implement the following actions to improve the responsiveness of your workflow to stop commands:

  1. Optimize Loop Handling: Set break conditions or timeouts within loops to allow for exits and ensure that the workflow can respond to stop commands more effectively.
  2. Graceful Exit Strategy: Use Try-Catch blocks to manage exceptions and facilitate graceful handling of stop commands when necessary.
  3. Workflow Design: Consider dividing complex workflows into smaller components. This modular design can make it easier to manage and respond to stop commands.
  4. System Monitoring: Regularly monitor the robot and VM to ensure they are responsive to stop commands and functioning properly.

By following these steps, you can enhance the ability of your workflows to respond to stop commands promptly.

Reply