cancel
Showing results for 
Search instead for 
Did you mean: 

Simple workflow question

Former Member
0 Kudos

Hi,

I started implementing a simple workflow and now I have a problem and I don'z know how to solve it using the technology of SAP-workflow.

I created two workflows in SWDD (WS...). The first workflow calls the othe workflow in a special case. This is done by using a standard link with a activity (linked to WS instead of TS).

Now I want to have that all the activities implemented in the second workflow should be done by one user of a group of user.

The problem I now have is that in every step of the second workflow (e.g. user decisions) I have to set the agents. In my case this is a group of users. So the problem occurs if agent A1 makes the first descision, another person B2 can do the following steps of this workflow.

What I want to have is something like "a workitem with several steps included", that means when agent A1 selects the workitem, the following steps should only go to this agent and not to every agent that is in the group of persons for that task.

Hard to describe I think. I hope you understand what I tried to mention here...

Thank you for your support!

Markus

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi.

I am not sure if I understod correctly, but maybe I did.

First step: I assume that you have several agents for this step, and anyone can execute it? Well, you can bind the container element actual_agent from this step back to the workflow. The actual agent will be the user who completed the work item (or step). You can bind the element to for example an element called LastAgent (that you need to create to your workflow container).

Following steps: Instand of using the same rule (or agent finding logic) as you did in the first steps, you can now use an expression in the agent determination. And the expression should be now the LastAgent. Easy.

Now all the following steps will be seen only by the agent who completed the first step.

Regards,

Karri