Escalation to Resolve Activity

Last post 07-18-2008, 6:17 by miketrouard. 3 replies.
Sort Posts: Previous Next
  •  07-17-2008, 9:00 24927

    Escalation to Resolve Activity

    All-

     I have an activity with two Outcomes: Complete & Expire. The activity has a client event and an escalation. I would like to have the escalation move the workflow on when the escalation is finally run.

     Does anyone know how to move an activity along using action and outcomes from an escalation?

    Mike Trouard

    Filed under: ,
  •  07-17-2008, 9:47 24930 in reply to 24927

    Re: Escalation to Resolve Activity

    Attachment: K2Example1.JPG

    Mike, Well there are some inbuilt functions like:

    1.Goto Activity Template: You could use it, in your escalation use this template and your Workflow will be redirected to the desired activity. Keep in mind that if you use Goto it will expire all the other activities in you process.

    2.Redirect: Allows you to redirect the task to group/user 

    3. Now, if your requirement is not any one out above mentioned then read on:

    Let's say that, you want if activity is not attended for n hours it should automatically be rejected. Look at the attached picture,

    I have two usual actions Approve and Reject however i have one more line coming out of activity and going to "Approved path", Line rule for same line is : SomeDataField="NotAttended".

    Now, create Expire Activity escalations on an activity. Click on view code, go to the code  and set the SomeDataField ="NotAttended" before

    K2.ExpireActviity.

    Outcome will be, before your activity is expired, we will successfully set the line rule. Activity expires and line rule will be evaluated to true.  

      Now, this is one of many methods to achieve the goal.

    HTH 

     


  •  07-17-2008, 2:54 PM 24940 in reply to 24927

    Re: Escalation to Resolve Activity

    Here is a very easy way to do it:

    http://www.k2underground.com/blogs/blacktop/archive/2008/07/09/default-outcomes-in-escalations.aspx

     


    The statements and opinions made in my postings are my own, and do not reflect the opinions of SourceCode Technology Holdings, Inc. or its subsidiaries. All information is provided as is with no warranties, express or implied, and grants no rights or licenses.
  •  07-18-2008, 6:17 24962 in reply to 24940

    Re: Escalation to Resolve Activity

    DavidL-

     This solution is a great way to resolve my problem. It is fairly clean.

     The only thing that I do not like about the expire activity option is it does not run any of the events (if there were any) after the activity is expired. I guess the perfect solution would be to have an "Event Expire" escalation.

    Thanks for the help. I will add that nugget to my future development.

     

    Mike T

View as RSS news feed in XML