Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Is there a way to suspend a workflow where it fails and restart the workflow again

Unanswered Question
Aug 6th, 2013
User Badges:

                   I am looking for some guidance, is it possible in CPO 2.3.x where I can re-trigger a workflow which failed while executing certain activity and later resume execution from the same workflow from exactly where it failed. As an simple example I have a workflow that is composed of some activities and sub workflows executing in sequence and while executing a sub workflow or an activity from the main workflow it fails. I know the reason it failed, but is it possible that instead of re-executing the whole workflow top-down,just resume the execution where it failed. In the attached image, if the workflow fails while executing PS Script #1 and stops there, later can I trigger the same workflow to resume execution of the main workflow from PS Script #1 and run to completion? I see there is tab for workflow that specifies "Start Point" butI am not sure how to specify the starting point within the workflow. Any suggestions would be greatly appreciated.




  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Christopher Roberts Tue, 08/06/2013 - 08:07
User Badges:
  • Cisco Employee,

You are on the right track with start points.

They are under the "logic" workspace in your process editor. Just drag the "start point" out to where you would want it to resume from and name that start point.

You'll have to do more logic then, like maybe calling it from the portal or something, to call that process with that start point, but that would accomplish what you are looking for. With later 2.3.X you might look into Process Events as well and raising those as things happen in your process so you can track them.

Ayaz Ahmed Wed, 08/07/2013 - 09:09
User Badges:

Thank you Shaun. I was able to make it work. Yes,there are additional logic to be added but not as bad I was expecting. I was using Alert as an event to notify failures and use Alert status change to trigger the workflow again. There are some additional challenges to deal with data to re-trigger the workflow from where it failed but I think I have the framework working that I needed. There few option available to deal with the data.

Thank you once again.



This Discussion

Related Content