EVALUATE_AGENT_VIA_EXPRESSION

Hi All.
We're in ECC 5.0
We have custom workflow where one of its task is synchronous dialog task.
Our dialog task is using ABAP Class and basically just pop up approval screen to user.
The way we determine responsible agent is from ABAP Class and our possible agent is link to security role.
In the first run looks fine but when recipient doesn't take any action, the workflow log in the node number that refers to dialog task contains following information:
Row-1, Column "Executed Action = "Editor fetched again"
Row-1, Column "Function name" = "SWW_WI_REFRESH_AGENT"
Row-2, Column "Executed Action = "EVALUATE_AGENT_VIA_EXPRESSION"
Row-2, Column "Function name = "EVALUATE_AGENT_VIA_EXPRESSION"
Both information(Row-1 and Row-2) executed several times for all working days.
Does any body have a thought why this functions (SWW_WI_REFRESH_AGENT and  EVALUATE_AGENT_VIA_EXPRESSION) is in our workflow log and executed several times?
For your additional information, those function does not exist in our dialog task.
Thanks in advance

I think then you test after refreshing the buffer. Even after that it does not work then you change the Task as General Forwarding Not allowed and maintain some users. This will start working for the Users maintained. Then you change the task again as General and it will start working again.
Thanks
Arghadip

Similar Messages

  • Container management in workflow

    Hi,
    I am VERY NEW to workflows and am trying to create my first workflow. I initially set up all of my steps with myself as the responsible agent. I am now trying to identify the responsible agent via a method. (We determine approving agents by certain cost centers, etc). In my method, I am getting the correct data returned, but I am not able to successfully put the agent ID in my container to pass to the next step for forwarding.
    Does anyone have any suggestions? Am I doing this correctly?
    Thanks,
    Manjula.

    hi,
    Double click the step in the workflow builder.
    In the tab Control you can fill in the agent assignment, you can use an expression, a user, a role etc.
    For determining where the item will be sent.
    Here is more information. In my container, as I have stated before, I have the id of the responsible agent that I want the step forwarded to. I also have that agent - and others - identified as possible agents.
    I am receiving the following messages:
    "Agent determination for step '0000000009' failed"
    "Result of agent resolution does not agree with agents of task." This message shows the method EVALUATE_AGENT_VIA_EXPRESSION.
    Based on this, it appears that it is not finding the agent in the container and then has a blank agent when trying to resolve it against the possible agents...but I see the agent id in the container for that step.
    Reward points if found helpful....
    Cheers,
    Chandra Sekhar.

  • Issue with N step BADi

    Hi,
    We are on SRM_SERVER 550.
    We have implemented n step badi for approval of SC.
    After SC is created, we see an error in the WF log in the step for task TS10008126. The error is shown in the step history and its "EVALUATE_AGENT_VIA_EXPRESSION      Result of agent resolution does not agree with agents of task"
    When I try to see in OOCU as to what are the agent assignments for the task, it shows me an empty list in OOCU.
    Is there some basis steps for WF missing?
    Regards,
    Srivatsan

    Hi Srivatsan,
    Check the agent assignment of the task. Go to transaction PFTC, select Standard task as task type and give in the number of the task (10008126). Then press change. In the next screen go to Additional data in the menu and select Agent assignment -> Maintain. Then select Approval of shopping cart and click on the attributes button. In the pop-up select General task. And that is it. Depending on the system settings you can transport this or you will need to do it at every system / client.
    Regards,
    Martin

  • Problem in Agent Determination

    Hi,
    I have a workflow which is working fine where i need to make some changes.
    There is already a Task which sends a workitem .Now Depending on a condition i need to change the Workitem Title.
    I have copied the task and changed the Text and made the Task a General Task.
    But now its not dtermining the Agent .
    I get the error REsult of Agent Resolution doesnot agree with the Task .
    in EVALUATE_AGENT_VIA_EXPRESSION
    For that particular Step if i placed my original Task it works fine.
    So for sure i know the problem is in the Task and not in Step.
    And my agent is assigned with an Expression.And the value is also populated in the BO.
    Anyway to Debug and find the error.
    Regards,
    Swathi

    Hi
    Just a quick suggestion, have you remembered SWU_OBUF ?
    Further more - it's a god idea to leave the inbox / Swia or whatever transaction your in before testing again
    Regards
    Morten Nielsen
    Message was edited by:
            Morten Nielsen

Maybe you are looking for