Skip to Content
0

WF - end wf when agent determination failed

Aug 31, 2017 at 10:20 AM

39

avatar image
Former Member

Hi ,

I am new to WF , and i have the following problem :

we have an agent determination via expression , and there are several possible agents in the task possible agents . when there is no overlap between the possible agents and the agents in the expression , the task is assgined to all possible agents.

I want the task to end in error in this case.

I know how to do it with agent assignment via rule ,

is there a way to do the same with agent assignment via expression ?

Thanks, Nirit .

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Susan Keohan
Aug 31, 2017 at 12:41 PM
0

You could check the contents of the expression in an earlier Condition Step - where you evaluate your expression for having some content. If there are no lines in your expression, then use a process control step to throw an exception.

Mind you, I have not used Process Control to throw exceptions, so your mileage may vary. But it is *always* a good idea to check and ensure you have valid agents before launching a dialog task!

Sue

Share
10 |10000 characters needed characters left characters exceeded
Mike Pokraka Aug 31, 2017 at 12:54 PM
0

Do you specifically need it to go into error? I don't think this is necessarily a good thing to rely on, as there are many other ways an item can end up without agents.

For this reason there are reports (SWI2_ADM1) you should be running at least daily which will list these types of issues, regardless if you have any special handling in place. Perhaps these are sufficient for your requirement?

Share
10 |10000 characters needed characters left characters exceeded