Role resolution

Question: Hi ,
I have problem with work flow role resolution.
below is code for my role resolution ,

(My assuption for current Role is no checks and im not using any condition based on imported params from WF container.)

Here im simply trying to assign user TATA14 and appending to ACTOR_TAB.But my Work Item failed with Error.

Workflow has been started,Its in my outbox .Failed becos of Role resolution(Working for direct agent assignment).

Is my code is OK.Can any 1 have sample code.

Is there any configuration other than assigning role in standard task


SAMPLE CODE.......................


ACTOR_TAB-OTYPE = 'US'.
ACTOR_TAB-OBJID = 'TATA14'.
APPEND ACTOR_TAB.

LOOP AT ACTOR_TAB. "108391
H_OBJECT_EXT = ACTOR_TAB.

CALL FUNCTION 'RH_WF_OBJID_UNPACK' "160606
EXPORTING
ACT_OBJECT_EXT = H_OBJECT_EXT
IMPORTING
ACT_OBJECT_EXT = H_OBJECT_EXT.
ACTOR_TAB = H_OBJECT_EXT.
MODIFY ACTOR_TAB.

.................


Pls get bak.
Regards

Answer:
your coding looks correct. has the rr worked given you correct results while testing using PFAC?
Copyright ?2007 - 2008 www.jt77.com