A document when edited and checked in need to go to the 1st activity in a workflow-How can it be aut

athati
athati Member
edited April 10, 2012 in Documentum #1

Hi,

I have a special requirement in my workflow. A document will be passing through the workflow activities and the activity performer may edit the document. Whenever a document is edited and checked in the workitem must go to the 1st activity in the workflow automatically. How can I achieve this requirement? I know it can be done manually, but how can it be automated whenever the document is checked in.

Please share your knowledge and experiences for figuring this out.

Thanks.

ta

Tagged:

Best Answer

  • DCTM_Guru
    DCTM_Guru Member
    edited April 10, 2012 #2 Answer ✓

    If the document is currently in Activity X, do you want the performer to still perform the task against the new version?  By terminiating the WF, you avoid this situation.

Answers

  • DCTM_Guru
    DCTM_Guru Member
    edited April 10, 2012 #3

    Write a TBO and extend doCheckin.  Locate the running workflow and terminate it.  Then start a new instance of the workflow and attach new version to the workflow package.

  • athati
    athati Member
    edited April 10, 2012 #4

    Thanks Johnny.

    Do you think the current workflow need to be terminated? I think whenever the document is checked in, the workitem can be forwarded to the 1st performer without terminating the current workflow. Isn't it?

    Thanks for your help.

    ta

  • DCTM_Guru
    DCTM_Guru Member
    edited April 10, 2012 #5 Answer ✓

    If the document is currently in Activity X, do you want the performer to still perform the task against the new version?  By terminiating the WF, you avoid this situation.