on 2016 Jul 04 4:16 PM
Hi,
I am using the block step type For completing my task, Two agents are there ,So, each agent has approve the User decision only once.
Please have a look on below attached images.In this i took one container field as Multiple line , then i am passing the no of agents before executing the workflow.
Then under block i was assigned the agents table, then binding was came automatically.
Then under the block immediately i put one user decision.Then i was assign the Agents,
You Can have a look on below attached image How i was assign the Agents. Then i am executing the Workflow. Before executing i am assign the Two users.These two users are not passing as Agents in the Workflow.
You can able to see the log details below attached image, it is saying that No possible agents, What is the mistake i did it.
->Work flow is under No General Task.
->In log files No of Users are Under container i am able to see the no of users, What i passed at the initial Stage.
How could i pass agents.
"You can able to see the log details below attached image, it is saying that No possible agents"
Where does it say that? The "No agents" in W3 just means nobody has executed it yet.
Look in the log (SWI1) or SWI5 to see who has it in their inbox.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI, Thanks for your reply.
1)I Create a multi line Variable.
2)Under the block i was assigned the user table
3) Under the block binding the users.
4) After block Starts then user decision i was put.
Actual workflow
I hope this is enough, there is no conditions like loop counter some other
Need your valuable suggestions.
Hi,
Once if you have provided the Workflow container element under Dynamic Processing, binding will be done automatically. In your case, binding seems not Okay. Please refer the below screen snap for your quick reference.
I have tested with the above approach. it is passing the users to the block. Let me know if any issues.
Thanks & Best Regards
Suresh
Hi, Thanks for your reply.
I Changed the Data binding As you shown.
But while executing the workflow it is not started first showing Error.
Technical details log fields also i was mentioned.
Under the User Decision i was not changed any thing. it is like Hope you understood.
Expression : &UsList[_UsList_line]&
Need Small information.
I will change the reference syst-tname to WFSYST-AGENT.
you also need to prefix every user-id with US
What is the meaning of above one. Can i create the user with Us
Suppose my user id is MNMG-MM01 , Can i create one more user as USMNMG-MM01.
I hope prefix means like USMNMG-MM01..
Please have a look on below attached image.
My user is is PMG-SRINI BUT it is showing as USPMG-SRINI.
IS IT converting automatically.
need valuable suggestions.
Some thing is stopping and happening but i did not understood
Simple workflow i was created Step type is user decision agent is Workflow initiator
Means me only, i was executed the workflow then i checked the Workflow log.
I checked the Agent it was Shown like below. Automatically add the prefix.
But in above scenario if i check agents there is no agents .
Some body need to explain.
Thanks for your reply.Hope you are correct.
I have Some users in Su01
In workflow i given the user list as like
PMG-USER01
GEM-MM01
Workflow was started but there is no agents in workflow log.
Now i created one more user as USPMG-USER01.
Now input at
USPMG-USER01
GEM-MM01
Agents are US PMG-ABAP01
1)Why user decision is going to PMG-ABAP01 not USPMG-ABAP01
2)What is the use of US
3)I have 50 users ,Shall i create again 50USERS WITH US.
Can any body explain.
Don't create users with US.
Understand HR organizational management and agent assignment when using expressions.
Technically Agent assignment in expressions, the first 2 characters ar Object type as defined in cusotmizing table T7780 and the other characters is the Object ID or ActorID , examples
US UserID
P Position
AG Role
etc. etc.
when you use expressions workflow must first know okay what kind of object type? Is it user, or organizational unit, or something else.
Do you now understand?
Then build it, create a new method.
But.. if you are 100% sure that the list will contain only users then why did you choose for expression in the first place? You can choose any of the following as defined in domain SWD_AGTTYP -WF: Agent type
AG | Role |
AC | Rule |
O | Organizational Unit |
C | Job |
S | Position |
A | Work center |
US | User |
Expression | |
%I | Workflow initiator (expression) |
%V | Superior of workflow initiator (rule) |
If i choose User decision with Rule or Role, then
Imagine two users are there So, if the two users are approve then Workflow, then it will be completed,
User1 will give the two times Decision so, Workflow is completed,
I checked it , my requirement is onc user has to approve only one time.
because of that reason i used blocks then i faced this type of problem.
Correct me anything is wrong.
Do you Stéphane Bailleul have any suggestions From your side, Reading this post.
Problem:In Workflow container(Multi line) I am passing two users. Like
pmg-gem01
pmg-gem02
user decision is not going, After the searching i was observed that, If i create one more user as
uspmg-gem01 then
pmg-gem02
User decision is going to pmg-gem01 not uspmg-gem01
We have 53 users, but all are not Started with us. I was used block step type.
1)Why user decision is going to pmg-gem01 if i assign the user uspmg-gem01
2)i don't have users list starts with Us now what should i do.
Hope you understood my problem . Expecting valuable suggestions.
The below is my post.
User | Count |
---|---|
79 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.