cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to determine the Agents via RULE at run time.

Former Member
0 Kudos

Hi all,

I created a single STANDARD TASK with single triggering event and a with a default rule (Agent) and even i did binding between the task container and the rule container.

the rule is created with (category : Agent Determionation :Function to be Executed) .

The rule function module contains following simple code to determine the agents.

ACTOR_TAB = 'USNTWDEV'.

APPEND ACTOR_TAB.

ACTOR_TAB = 'USECPGEN'.

APPEND ACTOR_TAB.

<b>When i explicitly trigger the event and trace the event via SWEL tcode , the event is received and the dialog work item is also being created

but its giving me a caution while (EVALUATE_AGENT_VIA_RULE.) evaluating the agents and the work item is not populated in the acutual agents Inbox</b>.

<i>Is the problem with the rule FM?but the rule is working when i simulate the rule or use the rule in some workflow template.</i>

what could be the problem ..

Please help me ..

regards,

Sateesh.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sateesh,

please check the settings for the <i>possible agents</i> of this task.

On the task maintenance screen choose Additional data>Agent assignments>Maintain

In the first place you can set the task here to "general task", which allows every user to execute such a workitem.

Best wishes,

Florin

Answers (2)

Answers (2)

pokrakam
Active Contributor
0 Kudos

Hi Sateesh,

Header rows in tables are obsolete for a few versions already. You should use an explicit workarea:


data: wa_actor type swhactor. 
wa_actor = 'USNTWDEV'.
append wa_actor to actor_tab.
wa_actor = 'USECPGEN'.
append wa_actor to actor_tab.

Cheers,

Mike

morten_nielsen
Active Contributor
0 Kudos

Hi

Have you:

1. Assigned a valid agent to your task - and have you checked that agent found is within the range of valid agents

2. If you have transported / or is testing on another client, remember that agent assignment must be made on that system as well - and remember - SWU_OBUF.

3. if this does not help check the authorizations - display access to authorization PLOG is required for infotype 1000, 1001 for objecttype AC.

Regards

Morten Nielsen