BPM User decision Agent assignment
I am working on User decision steps in BPM. I have added Configurable Parameter in Integration Process but after importing it into ID, I am not able to assign any user in parameters. Once I put the value and save/activate, value got cleared out.
Click workflow log (use any of the log transactions, swi1, swi2_freq swi6 etc)
click list with technical details, shift+F9
find the step, click on it and tick the tab container.
But if you could just answer my previous question about how you are sending the mail, because if you directly use email address then it is of course impossible to use that as agent assignment for the user decision.
A user decision is ultimately sent to a user id
Kind regards, Rob Dielemans
Similar Messages
-
Need 2 Multiline elements for user decision step
We are on SAP R/3 Enterprise version.
I have this requirement to find agents based on the agent type and work center field. So I created a responsibility rule for each type of agent type. The responsibility rule is keyed on the work center, and HR positions are mapped to each responsibility rules work center field.
We have 50 agent types/responsibility rules, 60 work centers, and 1 or more positions for each agent type and work center combinations. Due to the total number of positions, I prefer to use 1 responsibility rule per agent type for ease of maintenance.
I have a FM that reads the responsibility rule based on the agent type and work center field and retrieve the agent_list. I used this FM/method/step prior to my user decision step and pass the agent_list to the UD step via container.
In my user decision step, the Other tab does not have Multiline element for me to enter my agent_list. So I cannot use &agent_list[&_WF_PARFOREACH_INDEX&]& in my user decision agent assignment expression field.
In my last job, we have SAP ECC 5.0, the UD step has a Misc tab that has Multiline element, but our current SAP R/3 Enterprise version does not have Misc tab, it only has Other tab.
Question:
1. How do I use [&_WF_PARFOREACH_INDEX&] without Multiline element for agent_list in UD step?
2. I have to use the same way to retrieve my LED_agent_list as well, so I need 2 Multiline elements in my UD step. But normally in Other tab, it allows you to define only 1 Multiline element. How do I get around this restriction?
3. My last resort is to use 1 responsibility rule, then I can use the rule in the agent assignment. If that is the case, is there any limit on the number of entries in the rule?
Thanks.
AmySorry, I posted to the wrong forum.
-
Need Help on User decision step in BPM
Hi All,
I have a requirement to design the user to to system interaction in a partiular scenario. I am trying to use the User decision step in BPM available in PI 7.1 server. I have used the User decision step and filled all the parametes as given in the sap documentation. When I am trying to execute the scenario, The outbound process is succesful but stops at the BPM workflow at the User decision step with the message (No Agent ready) .
Can anybody help me in solving this issue.
Thanks in advance,
KalpanaHi Shabarish and Swarup,
I have defined the relevant user in the Integration directory , also made sure that the user entered is defined on the integration server and there are not restrictions on the defined user. The workflow log is as follows:
Workflow File2File_BPM1
Workflow instance File2File_BPM1 http://File2File_BPMdemo
Instance number 000000001046
Start date 30.12.2008 Started by WF-BATCH
Start time 11:33:36 Current status In Process
View: Workflow chronicle
Error St Task Result Date Time Processing time
Error Agent Executed Action Date Time Object Object Name Object 2 Object name 2 User Context
File2File_BPM1 http://File2File_BPMdemo Workflow started 30.12.2008 11:33:36 -1s
WF-BATCH Start message received 30.12.2008 11:33:36 MIAB_BPM_OB2 / http: C532A7AB4D284B9011C0B0C7F8AFB WF-BATCH
WF-BATCH Workflow started 30.12.2008 11:33:36 WF-BATCH
WF-BATCH Events Dispatcher Active 30.12.2008 11:45:36 MIAB_BPM_OB2 / http: 597B946347C148AD03988B5D8BE2C WF-BATCH
WF-BATCH Events Dispatcher Active 30.12.2008 11:45:37 MIAB_BPM_OB1 / http: 6E0E09EE977E4F333D02DDDAE9A52 WF-BATCH
WF-BATCH Events Dispatcher Active 30.12.2008 13:48:07 MIAB_BPM_OB2 / http: 9F5491FD9BC642E50486A6FED89DA WF-BATCH
WF-BATCH Events Dispatcher Active 30.12.2008 13:48:07 MIAB_BPM_OB1 / http: 1AE5BB06D72341AD01F8C45E6AA7E WF-BATCH
WF-BATCH Events Dispatcher Active 02.01.2009 05:34:58 MIAB_BPM_OB2 / http: CD698CDE5606436811BAB330011AF WF-BATCH
WF-BATCH Events Dispatcher Active 02.01.2009 05:34:59 MIAB_BPM_OB1 / http: 2D82C00C16E0447F1DF3B133470AD WF-BATCH
'Good'{TYPE=SWFXST_STRING}'BAD'{TYPE=SWFXST 30.12.2008 11:33:37 0s 1046
WF-BATCH Dialog work item created 30.12.2008 11:33:37 WF-BATCH
WF-BATCH EVALUATE_AGENT_VIA_EXPESSION 30.12.2008 11:33:37 WF-BATCH
I hope this can help you in identifying the error.
Thank you,
Kalpana -
User decision step agent issue
Hi All
In my WF I get a user profile back from a method that check a ZTABLE for the correct user to receive mail and a user decision work item .
The mail step is working correctly and sending mail to the user (as per the parameter returned from the method)
The problem is that user decision step does not sent a workitem to the correct user .
Any ideas on what the problem might be ?
In the email step I bind to &ADDRESSSTRINGS&.Not sure what the correct binding is for the user decision step?
Many thks
GerhardClick workflow log (use any of the log transactions, swi1, swi2_freq swi6 etc)
click list with technical details, shift+F9
find the step, click on it and tick the tab container.
But if you could just answer my previous question about how you are sending the mail, because if you directly use email address then it is of course impossible to use that as agent assignment for the user decision.
A user decision is ultimately sent to a user id
Kind regards, Rob Dielemans -
User decision activity not going to the agents(Position Maintained).
Hi All,
I assigned a specific Position in the agent field of the user decision activity. But after assigning, the decisiion step is not going to the expected agent but it getting executed by the WF-BATCH user.
I have checked the same in the Tcode : PO13 and the corresponding user is the only one maintained for that position.
Kindly guide what can be the possible reasons. Is there any thing i am missing.
Thanks,
Neslin.Thanks.Yes.Latest start and latest end are already maintained and there is a Rule when the latest start missed also. kindly let me know how i can avoid this also..
How to check whether the position is maintained to the SAP user id?.I have seen the user maintained under the position in Tcode PO13..
The deadline is calculated 4 days after sydatum.
One more thing the Workitem got reserved by the WF-batch and executed by WF-batch.
Edited by: neslin on Jul 28, 2009 7:49 AM -
Container variables in User decision Step in BPM
Hello,
I am using User decision Step in BPM.
When i use only text in "Title for Display" the BPM is activated successfully and Status in SXI_CACHE also shows 0.
If I use container variables in "Title for Display" the BPM is activated successfully but status in SXI_CACHE shows 99.
It shows the below error
"Problem updating an integration process with object ID 073AF2C620F43E839B2903344DEE29BB. Symbol 'CE/KO' expected at position 1 in expression ''
Please suggest.
Thanks,
ShabariHi Shabari, did you follow the steps for declaration of variables as in [SAP help for user decisions|http://help.sap.com/saphelp_nwpi71/helpdata/en/42/c2a19fb4511d65e10000000a1553f6/content.htm]? How did you define your variable?
Maybe discussion [in this thread|BPM activation Error in SXI_cache; can help, it is unanswered though.
Regards, Martin -
Agent Assignment Doesn't work For Some Users
Hi all,
In OOCU_RESP there are four agents in a responsibility. But only one (say A) of the four gets tasks in Inbox. The other three (say B, C, D) get nothing.
I removed A from the responsibility and B, C, D still get nothing. In SWIA the log shows no agent assigned. But in SWI2_DIAG there is no error info.
In OOCU_RESP, Simulate rule resolution, i can get all 4 agents assigned.
I feel like there is something wrong with B, C, D's SAP account settings. But I have no clue what it can be. Advise please!Hi Dayong
Please check the Agent Assignment settings of the task used for sending the WI to the users. Is the task set to General task or specific agents are listed there?
PFTC->Supply the Task-> Additional Data -> Agent Assignment
Also, check if these agents are listed in Excluded agents in the Workflow Step.
regards,
Modak -
Hi Experts,
We are implementing the Leave Request WF using WS12300111.
We have a user decision step. This is for the HR admin to take a decision if a manual posting has been successful or not.
There is already a rule 60100010 which has the responsibilities defined in it which define the possible agents who can execute this work item.
Can i use this rule directly in the User Decision step? Is there any specific binding required for the same.
If the user clicks on NO, then a pop up shud appear where the user enters his comments.This is a dialog step. In this case, can we use the same rule as the agent or is there any necessity to provide an agent.
Kindlu let me know regarding the same.
Cheers,
Belinda ClarkeHi,
You need to create the "LATESTAGENT" container element. But first take a look to the previous step. You can basically bind from task to the workflow the user who executed the step. If I remember correctly this element was "Agent". So, just bind it from the previous step into your new container element in WF container. Then use that as an expression the next step's agent.
You can also use the rule as I explained in my previous answer. The above method is a bit better since than it forces the work item to the user who completed the previous work item. But if you are using the advance with dialog option, the rule will work as well.
Regards,
Karri -
User Decision Step in BPM - PI 7.1
Hi All,
I have posted a wiki for User Decision step in BPM in PI 7.1, Please go through it and post your queries, suggestions and comments here.
The link for same is under:
Part1 - https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+I
Part2 - https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+II
Regards,
SachinHi Sachin,
Nice job,
During my practice on this scenario. I have got an error please kindly guide me on this, may this error also clear for the others
*I got an error on SXI_MONITOR as:*
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>No object type found for the message. Check that the corresponding process is activated</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
The trace of the error as:
<Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV">
<Trace level="1" type="T">could not create BPE proxy for message, no XML object definition found for message 72485F6BFC78416A29EEE3EE10D09BCE</Trace>
</Trace>
</Trace>
<Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
Please kindly guide me on this, Is the message has to validate at sender agreement? if not where is the error I am doing? -
Hi,
I have requirement.PI is reading data from source and after transformation sending one mail to approver .If Approver approves it then messgae will be sent to target system.For approval and rejection ,I am using user decision step in BPM.
My question is if approver approves reqest in 15 days ,then what will happen in SXMB_MONI,Will the message got failed?PI should not be used for such scenarios.
The User Decision step in BPM is merely thought for PI admins, if a message should retried or skipped. Not for end-users.
Create a Wokflow in ECC or similar. -
Forward the mail to more than one agents in User Decision Step
Hi All,
I am referring blog
http://wiki.sdn.sap.com/wiki/display/XI/User%20Decision%20step%20in%20SAP%20PI%207.1%20-%20Part%20I
But my requirement is to forward the mail to group i.e. more than one agents in User Decision Step
How to do this.
RegardsHi,
Even my requirement is similar one.
I have to forward the mail to SAP Inbox of a group of user.
Anyone of the Purchase team can process the message .
Please suggest how to make our user decision step so that it is forwarded to multiple users for processing.
Regards
Henery -
Unable to delete agent assignment from Standard Task 8267 DECISION
Hi All
In transaction PFTC_CHG I'm trying to Delete Agent Assignment (Shift + F2), the screen simply refreshes and the action is not performed - the user is not deleted from the Demo Workflows parent folder? I'm not sure how to change or remove this entry? Authorisations check out fine.
Regards,
AdrianHi ,
Go through below links ..i am sure you will find something helpful.
How to delete agents
remove assigned agents
Regards,
Himanshu Joshi -
Hi Experts,
I have created a custom workflow which has a user decision step. We have used a rule for agent assignment and we have also maintained General task: can be edited by all users. We have implemented deadline monitoring for this step.
When we moved this workflow to QA, agent assignment (General task: can be edited by all users) was not transported.
Now when we executed the workflow, agent was not determined, but still deadline emails were triggered.
Is this correct ? Shouldnt the workflow go into an Error state as no agent was determined ?
Note: I know that we can transport agent assignment using RE_RHMOVE30.
Thanks.Requested start states , when the workitem must be sent to user's inbox, In Simple, it mentions after how much interval of time the workitem will in the user's inbox
In your case after 3 Mins of.... (check it) the workitem will be in the user's inbox,
and coming to Latest End , it is a grace period to user to act on the workitems, if user does not act on the workitem then this deadline is reached, in your case teh suer has give one day , if he does not act on the workitem with in one day the deadline is reached. -
Dears:
in my workflow , when the wf trigger user decision, the decision appear in the inbox of the agent assigned to the user decision.
but when i double click the user decision in inbox, it give message 'No administrator found for the task'
and when i test workflow in swue, the step with status 'ready', cannot be processd.
tks for ur kindly adviceHi,
After clearing the buffers are you trying to execute the same existing workitem? I think it might not work in that case. For this you will have to forward it to an agent and reforward it back to your required person. This should solve the problem.
Or else try to create a new workitem and check whether you have the same problem.
Thanks,
Prasath N -
Extended Notification not working for Dialog Task with agent assignment
Hi Friends,
I have an issue where I have a user decision step and a sub workflow contains a dialog task with agent assignment.
Extended notification is configured properly and is working properly for user decision step but its not working for the dialog task created as an activity.
Batch jobs are configured to run report SWN_SELSEN.
I was checking SDN and found this discussion handy :
http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4f/3bed495cc018c8e10000000a42189e/content.htm
One thing that wonders me is that notifications show up in SOST 4-5 seconds before the user decision step starts execution.
See screenshot from SOST and WF log.
SOST log :
2 questions here: Why is notification not being sent for Dialog task?
Why is user decision notification being sent that early even before the User decision task starts execution?
Please provide your valuable inputs.
Regards,
SandipAn activity step with agents is supported by the extended notifications if it is a decision task or not, I have used it many times and it works well just no approval/rejection links if it's not a decision task.
From your screenshot you can see that a mail has been created and is found in SOST, usually this cases are problems with the mail server or connection to it, check the mail settings in the SMTP node in transaction SCOT, also check with mail server team if there is a block to/from the SAP server.
Maybe you are looking for
-
Ipod 5th Gen Video 80Gb disk mode not recognized on itunes
Hi there everyone, So i have my ipod 5th gen 80GB video and here's my problem. Time ago i had it in a pocket of my backpack that was supposed to be waterproof. We got completely washed in NYC and when i took it out of my backpack pocket the ipod was
-
while trying to jailbreak my ipod touch i some how ereased my settings app alonge with music,itunes store, app store, browser, contacts, and a few other things. i've been looking for solutions ALL day and have found nothing! PLEASE HELP!!!
-
How do I get iTunes to sync/backup/store to my D: rather than C: ?
-
My iPhone 3 is not seen on iTunes when I connect it. It is also showing low battery but is not even charging and continously showing the Apple logo... What should I do? Thanks in advance, Jahnavi...
-
Folks, Does Oracle MFG comes with out of the box web services? If NO,what are compatible webservices available? Thanks -Dat.