Skip to Content
avatar image
Former Member

WF - end wf when agent determination failed

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 .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 31, 2017 at 12:41 PM

    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!


    Add comment
    10|10000 characters needed characters exceeded

  • Aug 31, 2017 at 12:54 PM

    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?

    Add comment
    10|10000 characters needed characters exceeded