cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help on User decision step in BPM

Former Member
0 Kudos

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,

Kalpana

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

did you you define a configurable parameter of type Agent and use it in the required user decisions?

Former Member
0 Kudos

Hi Sabharish,

I have defined the Agent in the configurable parameters. I have exactly followed the sap documentation to configure the User decision step, But got strucked up at the User deciaion step-- The workflow log throws out the error "Result of agent resolution does not agree with agents of task".

Please tell me whether I have missed any of the tasks.

Thanks in advanvce,

Kalpana

Former Member
0 Kudos

Hi,

Check the Agents is allowed to do that task ie.e any restrications or authorizations for the assigned agent..

Thanks

Swarup

Shabarish_Nair
Active Contributor
0 Kudos
Configurable Parameters for Specifying Agents

To determine which user is to be notified at runtime, you define a configurable parameter of type Agent and use it in the required user decisions.

*At configuration time, you assign this configurable parameter to the relevant user in the Integration Directory.* As a result, this user becomes the agent for all user decisions in which the corresponding configurable parameter is used. This means you can define user assignment centrally, and do not have to adjust each individual user decision following a modification.

The user that is to be entered as processor must be defined on the Integration Server.

Have you made the assignment?

Former Member
0 Kudos

Hi 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

former_member184619
Active Contributor
0 Kudos

Hi Kalpana,

In Integration process in directory, Press enter after assiging Agent name and then save it.

Check my post in wiki for the same:

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+I

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+II

Sachin

Former Member
0 Kudos

Hi Sachin,

Thank you for your reply. I have configured all the tasks as you have described in your blog. But I cannot see any messages in the Business workplace. Also When I see the workflow log --> Display Agent , I can see the agent WF-BATCH but not the agent which I have specified in the Integration directory. Can you please tell me whether I have change any other settings.

Thank you,

Kalpana

former_member184619
Active Contributor
0 Kudos

I have faced the same problem first, Then I assigned the value to the agent defined in Integration Process,

In BPM it's just a varibale the actual value it will take from Integration Directory. Assign the value, pres enter, save it and then activate it.

Else in SXMB_MONI when you click on PE, the workflow will be visible in which click on workflow action... it will show you technical details of that particular step.

click on the number against the workflow step to get more detail...

and I hope you are checking SBWP on PI system

Regards,

Sachin

Edited by: Sachin Dhingra on Jan 7, 2009 4:17 PM

anton_kopylov
Explorer
0 Kudos

I have same error in SAP PI 7.31. I made "Press enter after assiging Agent name". Activate. Nothing changed.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All,

The problem is solved when I designed a new Integration process (IP) instead of modifying an IP which has already been executed. I found that the User interaction with the Integration processes which have already been executed will be processed till the Process engine and throws out an error "Result of agent resolution does not agree with agents of task" since the Integration processes would have already been initiated by the role WF-Batch .

So I started designing a new Integration process with the User decision step by following Sachin's blogs : [Part1 |https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-PartI] and [Part2|https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-PartII] . This time it was succesful.

I hope this might help other developers to find the solution for their questions on User Decision steps in PI 7.1

Thank you.

Kalpana.

Edited by: Kalpana Timmapuram on Jan 7, 2009 2:05 PM

Former Member
0 Kudos

Hi Sachin,

Thank you very much for your help. The blogs werer really helpful.