On April 27, 2024, our Sign-in and Create Account options will be unavailable from 9am-12pm ET. During this maintenance window, developer account access and free trial registration will be unavailable.

How to pause/resume workflow from an Autoactivity?

Hi,

Is it possible to pause a workflow while in an AutoActivity via DFC and then resume it based on user requirement.


1. Workflow is started. (Performers are selected dynamically at runtime)
2. AutoActivity one is triggered
3. Need to check if Manual Acivity One Peformer is allocated
  a- If present proceed to manual activity
  b- If not present pause the workflow till user allocates the user
4. Once user allocates the performer then workflow should be resumed

If user decides not to go ahead with the workflow then he should be able to terminate it.

I need to achieve this using DFC. I am using CS 6.5 Sp1 & Workflow manager

Psuedo for Autoactivty Method

Check if performer are present

If yes

{

     acquire the workitem.

     complete the activity

     proceed to next activity

     complete the worktiem

}

else

{

     pause the workflow

}

My question here is what will be the right way to resume the workflow. How will i make sure that the autoactivity will start again successfully.