Agents in workflow

Hi,
I'd like to know somehing about the agents in workflow.
As far as I know there are 3 types of agents:
1. Responsible Agents
2. Possible Agents
3. Actual Agents.
I want to know why there are 3 types of Agents and how they are dependent on each other? Please let me know in details...
Thanks and Regards,
Pritam Mohanty.

Hi Pritham,
Yes you are correct. You would assign something in WF e.g. if it changes (using a rule based on company code for example) or if you have a task that is used in different parts of the flow with different agents.
The agent determination is very flexible and very powerful and there are many ways to do it. Some ways are good in some situations and bad in others and vice versa.
Remember that you CAN change possible agents in Production, but you can NOT change any assignments done in the WF template (unless it's via a rule).
Excluded agents - in your example, if Y is an excluded agent then the WI will only go to X:
possible = XYZ
selected = XY
Excluded = Y
Actual = selected - excluded = X
The excluded scenario is a little different from the way I think it should be designed: If <i>your agent determination</i> results in a blank for selected agents it will go to all possibles. The excluded bit is applied <i>afterwards</i> - it simply subtracts. So if your determination results in one agent which is also excluded then you have an orphaned WI with no agents. (Your WF admin will pick those up with SWI2_ADM1). Still, it's usually simple enough to design around.
Cheers
Mike
Additional note: If you are using a rule you can set the flag 'Terminate if no result' - this will send the WF into error if no agents are found.
Message was edited by: Mike Pokraka - added note about rule.

Similar Messages

  • How to determine the agent of workflow administrator

    In the workflow, when there is any exception raised, we need to send notification to workflow administrator. My question, how to determine the agent of workflow administrator.

    Hi jrockman li,
    No it is not like that, i mean that administrator for workflow will a single person so you can simply give his userid as the agent.
    As you told "YES SAP HAVE WORKFLOW ADMINISTRATOR ROLES"
    SAP_BC_BMT_WFM_ADMIN          Administrator for Business Workflow
    SAP_BC_BMT_WFM_GP_ADMIN   Role for Guided Procedure Business Workflow Administrators
    SAP_BC_BMT_WFM_UWL_ADMIN UWL: Administrator for Workflow Functionality
    You can use this roles for the agent determination purpose for the workflow administrators.
    Thanks and Regards
    Balaji K.

  • Error from Cisco Agent Desktop - The agent- or workflow-initiated action request failed.

    We have roughly 20 agents using Cisco Agent Desktop version 85.1.417 and I have one that when she clicks the phone button to answer a call she gets the error: "The agent-  or workflow-initiated action request failed."
    I reinstalled the program, but she still receives the same error.  What could be causing this problem?

    This is what I found in the log:
    2014-10-06 08:59:46:838 INFO VOIP2021 Desktop monitoring enabled for extension [9214].
    2014-10-06 09:00:12:147 WARN STD3000 Get registry key <MTS_CitrixInstall> under path <SOFTWARE\Calabrio\CAD\Site Setup>. Object not found: <2:The system cannot find the file specified.>.
    2014-10-06 09:00:12:159 INFO SOCKET0000 <CADEEMConnector> service on port <59015> has started.
    2014-10-06 09:01:01:580 INFO PD4002 error while answering call ICDJtapiCallControlChannel (answer) error, invalid callId (17781617 != 37533406)
    2014-10-06 09:09:28:543 INFO PD4002 error while answering call ICDJtapiCallControlChannel (answer) error, invalid callId (17781655 != 37533406)
    2014-10-06 09:13:42:458 INFO PD4002 error while answering call ICDJtapiCallControlChannel (answer) error, invalid callId (17781669 != 37533406)
    2014-10-06 09:29:03:809 INFO PD4002 error while answering call ICDJtapiCallControlChannel (answer) error, invalid callId (17781740 != 37533406)
    I'm attaching part of the DBG log.  I hope that it helps.
    Thanks

  • Agent Management Workflow

    Hi,
    In UCCX 7.0 Desktop Administrator Agent management workflow , we not able to see the "Time of day" event.
    We are using the enhanced version.What could be the problem !
    Thanks.

    Hi,
    from you description i read that you use EREs method to provision and outbound sync object to ADLDS.
    Maybe you only forget to write it in your question but you will need a set also to bring the objects you want to sync or provision in the scope of the sync rule.
    A MPR triggers on a set transition normally to start a workflow which adds objects to the syncrule (ERE creation). And syncrule need at leas one "inital flow" which is DN in this case.
    Dont forget to import the sync rules from Portal to MV and also the ERE, since these are evaluated in the sync engine not in the portal.
    Keep also in mind for outbound synchronisation that on already connected objects the "relationship criteria" is evaluated each time on export flow.
    Regards
    Peter
    Peter Stapf - ExpertCircle GmbH - My blog:
    JustIDM.wordpress.com

  • Change Approval Agent in Workflow WS10400002 (SRM)

    Hi Gurus,
    My expertise in Workflow is very low and I have a requirement where I need to copy standard Workflow WS10400002 to a Z one and change the Approval Agent Determination. They do not want to use the Organizational Structure or Roles for this but instead they would like to have a Z table with the different users and determine the agents using ABAP. Is this possible? If so, how can I achieve this (I am not interested in the ABAP Code itself, but how can I call a routine or FM or program from the Step)?
    I searched the Web and SDN but only found explanation on how this works in standard workflow.
    Any help will be much appreciated.
    Regards,
    Ernesto.

    Hi Ernesto,
    You might get more help by posting your question in the workflow forum:
    SAP Community Network Forums » SAP NetWeaver » SAP Business Workflow
    Brenda

  • Approving Agent in workflow.

    Hi Guys,
                 My workflow sending a mail to get approval of Pre-Invoice.
    The agent  to be send is assigned in a container operation task. Its assigned to an Business Object type VBRK and a table in the Business object. But I am not sure where its getting a value for this agent. The data type is WFSYST-AGENT.
    If I want to change this agent into different one through coding, how to do this.
    Cheers
    S Kumar

    I post this in Workflow forum.

  • Agent Listener workflow

    Hi,
    i'm can not found ‘Workflow Agent Listener’ in the request form of the System Administrator responsibility to run it.
    any ideas?
    Thanks.

    Hi,
    What environment are you on? What version?
    Have a look under Oracle Applications Manager - you should be able to schedule agent listeners from there, depending on the version that you are running.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Hirarchical view of agents in workflow log

    Hi,
    some users in the system when they go to se the agents from a workitem in SWI1 they see them in a hierarchical view. And some other users can see the same agents but as a list of agents, that0s they way I wanted always to be.
    Do you know which user-secific parameter do I have to modify to always see a list of agents instead of a hirarchical iew of them?
    Thanks!

    Then I think you ought to play with the Personal Workflow Settings - or check to see if there is any clue there - ie: do the users who see the agents the way you want have the same personal workflow settings?
    There are user workflow paramters (WLC) in the SU01 record - and the values there are typically....
    WLC  "XX  XX XXXX"  Workflow: User-specific settings
       Work item display: user view with ActiveX
       Workflow log: user view with ActiveX
       Display work item texts in logon language: YES
       Enable forwarding of work items to several users: NO
       Double-clicking on an object displays the object in the same window:
    YES
       No tips & tricks in workplace: YES
       No HTML in execution of decision tasks: YES
    Position 1: Always set
    Position 2: Double-clicking on an object ....
    Position 3: WI technical view / user view wo ActX
    Position 4: Enable forwarding ... to several users
    Position 5: Always set
    Position 6: Display ... texts in logon language
    Position 7: WF log technical view / user view wo ActX
    Position 8: WF log user view with ActiveX
    Position 9: WI user view with ActiveX
    Position 10: No tips & tricks ...
    Position 11: No HTML in execution of ...

  • BWSP - Display Agent of Workflows in Progress

    Hi,
    We are using the ITS service BWSP and we have a requirement to find who a workflow has been sent to when the workflow is in progress.  If an employee has sent submitted overtime for approval and workitem is awaiting approval, they want to know who the approval is sitting with so they can follow up with them. 
    In BWSP when you select Outbox > Started workflows and click on the workflow a screen is displayed showing a log of workflows steps with status and agent for each step.  Currently the Agent field is blank when the workflow is in progress and is only filled when the workflow has been completed, i.e., showing the person who did the approval.  In SBWP when you display this screen there is an Information link in the Agent field for workflows in progress which brings up a pop up window showing the Agent where the workflow currently resides.  Does anyone know if there is a way of outputting the Agent with whom the workflow is awaiting approval on BWSP service or if anyone else has had a similar requirement.
    Thanks,
    Sinead.

    Hi,
    You can use a filter using Extended Notification settings.
    Tcodes: swn_admin / swn_config
    Regards,

  • Error message while assigning agent to workflow task

    Hi guys,
    I have a serious problem in my workflow definition.
    I can't assign the superior of workflow intiator, I mean that the binding can't be defined automatically when I add the rule 00000168, I have the error message
    "container element ORG_OBJECT does not exist"
    Any help please? How can I create this manually?

    See SAP note 887415.

  • Control replication & replication agents through Workflow.

    Hi,
    we have a requirement where in we need to enable & disable replication agents through a java process. Is it possible ?
    Thanks
    Vinay

    Hello Vinay,
    Not sure if there is method to disable the agent through API because the enable/disable property is configuration property and stored with that agent in CQ (for example /etc/replication/agents.author/publish/jcr:content). But what you can do to accomplish that is as below.
    AgentManager agentMgr = sling.getService(AgentManager.class);
    or
    @Reference
    AgentManager agentMgr;
    Agent agent = agentMgr.getAgents().get(id);
    AgentConfig cfg = agent == null ? null : agent.getConfiguration();
    String agentPath=cfg.getConfigPath();
    Node agentNode=resourceresolver.getResource(agentPath).adaptTo(Node.class);
    agentNode.setProperty("enabled",false);
    I hope above helps you to proceed.
    Thanks,
    Pawan

  • User exit for workflow WS20000075  agent determination for PO

    Hi,
    I have requirement to determine agents for workflow WS20000075 for PO from Ztable entry.  Is that customer exit EXIT_SAPLEBNF_005 will work ?

    Hi ,
    Try assigning a new Agent Rule in the Task TS20000166.
    You will have to create a custom rule using transaction PFAC. Choose option "F - Agent dertermination function to be executed" and assign a new Z function module which will determine your agent.
    You can refer to function module ME_REL_GET_RESPONSIBLE while creating your own function module.
    Cheers!!!
    Gautam

  • Current Agent Value in Program Exit Workflow

    Hi Gurus,
    we are using program exit to send mail to outlook on user decsion step and it is working fine for Sequential approval but when we have to send mail for parallel approval(have used block for parallel approval) we are not able to fetch current agent.
    - Have store agent in workflow container 'Agent' and used it in Block in workflow for implementing parallel appoaval.
    - Created class implementing inetrface IF_SWF_IFS_WORKITEM_EXIT and put it under program exit of user decsion in workflow
    - Now in this class I have created method at work item created to trigger email for which i require runtime work item id and agent for it.
    - We are getting workitem id at runtime and based on it picking up approval agent from workflow container and send mail to it.
    - this workfs fine for sequential one as there is only one approver at a time but in parallel where all approver are maintained in one multiline container, it is sending mail to first person maintained in multiline container.
    Please find steps below what i have tried:-
    - i tried with  FM RH_USERS_OF_WI_READ to get current agent for particular work item id  but it is throwing dump no value found at   runtime but stangely gives value if we run standalone for same work item id.
    - Then,  I tried putting wait upto to see if it helps, but then also above fm is unable to fetch agent.
    - Tried by putting select on   SWWUSERWI table but that also is not giving current agent
    Question is:
    Why we are not able to get value of current agent through above FM or select from userwi table? How do we get current agent value at the time of work item creation event is triggered which further hits our custom method.
    Please help...
    Regards
    Ajit C

    Hi Ajit,
    Here you go.
    You must be having a multiline container (probably of type WFSYST-AGENT) in your workflow which holds all the user ids to whom work item must be going parellely. e.g if the multiline container name is AGENT.
    The current agent from that multiline container is referred by &AGENT[_AGENT_line_]&. This you must hast have put in your user decision step/activity as an agent also.
    Now in your user decision step/activity, create one single line container element of type WFSYST-AGENT e.g. current_agent. in workflow to task binding, bind &AGENT[_AGENT_line_]& to CURRENT_AGENT. This way you will have current agent in that task container.
    Finally use function module SAP_WAPI_READ_CONTAINER using WORKITEM id to read the value of CURRENT_AGENT in your program exit.
    Regards,
    Ibrahim

  • Problem finding Workflow agent when assigning an Organization as responsibl

    Hello Colleagues,
    I have a doubt about responsible Agent finding for a WF Task.
    I have created the following structure:
    MP_ORG (organization)
    _ MP_ORG_SALES (organization)
    _  Manager  (Position)
    _ User1 (user)
    _ Clerk (Position)
                                    |_ User2 (user)
    If I define MP_ORG_SALES as responsible agent, the WF works fine (User1 and User2 get the Work item). Nevertheless, if I define MP_ORG as the responsible agent, the Workflow doesn't find a responsible agent.
    Any ideas???
    Thanks and regards
    Marcelo

    Hi all,
    @Raj, nice blog but i'm afraid it didnt get me any further.
    @Surjith, after the workflow runs in error i can restart it from SWPR even without maintaining the data. This is (i think) because i restart the WF with the admin account, and that has sufficient authorization to look to the other division. As I mentioned it is not an option to give all the people sufficient authorization as per company policy.
    @Rick,  agent determination is rule based. We created rules as follows:
    Category: Agent determination: Function to be Exected
    Function Module:  RH_GET_STRUCTURE
    Evaluation path:  these are customized evaluation paths
    The workflow runs in error after completing the previous step. From the workflow log you can see that rule has no result. (if you test the rule in pfac_dis with the same input it works fine though, but then you have more rights of course)
    Thx so far.
    Robert

  • WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때

    제품 : AOL
    작성날짜 : 2005-11-28
    WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때
    ========================================
    PURPOSE
    신규설치 및 Clonning후 WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때가 있습니다. 이에 대한 조치사항을 기술하고 있습니다.
    Problem Description
    증상
    1. Workflow Agent Listener Service 와 Workflow Mailer Service 기동되지 않습니다.
    2. 기동될때 "Activating" status 로 남아 있습니다.
    3. 위와 같은 증상은 아래와 같은 원인에 발생할수 있습니다.
    (a) The WF_JMS_IN 와 WF_JMS_OUT queues 가 invalid 일때
    (b) 아래 workflow listeners 와 mailer 들이 'STOPPED_ERROR' status일때
    Workflow Deferred Agent Listener
    Workflow Deferred Notification Agent Listener
    Workflow Error Agent Listener
    Workflow Inbound Notifications Agent Listener
    Workflow Notification Mailer
    (c) Af_CLASSPATH 가 JDK 1.3.1을 가리키지 않을때
    Solution Description
    이런 증상이 발견될경우 아래와 같은 조치를 취해주세요.
    1. missing/corrupt queues 가 있는지 확인하고 이를 재성성 해주세요.
    sqlplus apps/apps @$FND_TOP/patch/115/sql/wfjmsqc.sql applsys apps
    위 sql이 먹지 않을때
    다음 command들을 copy/paste해서 작업해주세요(APPLSYS user로 하셔야 합니다.)
    Exec dbms_aqadm.stop_queue( queue_name => ' WF_JMS_IN', wait => FALSE);
    Exec dbms_aqadm.drop_queue(queue_name=> ' WF_JMS_IN');
    exec dbms_aqadm.drop_queue_table( queue_table => ' WF_JMS_IN', force => TRUE);
    Exec dbms_aqadm.stop_queue( queue_name => ' WF_JMS_OUT', wait => FALSE);
    Exec dbms_aqadm.drop_queue(queue_name=> ' WF_JMS_OUT');
    exec dbms_aqadm.drop_queue_table( queue_table => ' WF_JMS_OUT', force => TRUE);
    위 queue들이 drop되면 아래 sql을 다시 실행해 주세요.
    sqlplus apps/apps @$FND_TOP/patch/115/sql/wfjmsqc.sql applsys apps
    그리고 확인차 wfver.sql를 돌려주세요.
    (Note: The file wfjmsqc.sql has been replaced in 9.2.0.4 with wfjmsqc2.sql.)
    2. 11.5. 7 이전 버전은 JDK 1.3을 CM node에 설치해야 하고 patch 2356331 를 적용해야 합니다.
    Please reference:
    Note:242941.1 (How To Troubleshoot Java-based Workflow Notification Mailer In 11.5.9 and OWF.G)
    Note:130091.1 (Upgrading Oracle Applications 11i to use JDK 1.3)
    3. 환경변수 AF_JRE_TOP, AF_CLASSPATH, and AFJVAPRG 가 $APPL_TOP/admin/adovars.env에 제대로 설정되었는지 확인해 주세요. 그리고 이들이 JDK 1.3.1을 가리키고 있는지 확인해 주세요.
    Reference Documents
    Note 278428.1

    제품 : AOL
    작성날짜 : 2005-11-28
    WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때
    ========================================
    PURPOSE
    신규설치 및 Clonning후 WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때가 있습니다. 이에 대한 조치사항을 기술하고 있습니다.
    Problem Description
    증상
    1. Workflow Agent Listener Service 와 Workflow Mailer Service 기동되지 않습니다.
    2. 기동될때 "Activating" status 로 남아 있습니다.
    3. 위와 같은 증상은 아래와 같은 원인에 발생할수 있습니다.
    (a) The WF_JMS_IN 와 WF_JMS_OUT queues 가 invalid 일때
    (b) 아래 workflow listeners 와 mailer 들이 'STOPPED_ERROR' status일때
    Workflow Deferred Agent Listener
    Workflow Deferred Notification Agent Listener
    Workflow Error Agent Listener
    Workflow Inbound Notifications Agent Listener
    Workflow Notification Mailer
    (c) Af_CLASSPATH 가 JDK 1.3.1을 가리키지 않을때
    Solution Description
    이런 증상이 발견될경우 아래와 같은 조치를 취해주세요.
    1. missing/corrupt queues 가 있는지 확인하고 이를 재성성 해주세요.
    sqlplus apps/apps @$FND_TOP/patch/115/sql/wfjmsqc.sql applsys apps
    위 sql이 먹지 않을때
    다음 command들을 copy/paste해서 작업해주세요(APPLSYS user로 하셔야 합니다.)
    Exec dbms_aqadm.stop_queue( queue_name => ' WF_JMS_IN', wait => FALSE);
    Exec dbms_aqadm.drop_queue(queue_name=> ' WF_JMS_IN');
    exec dbms_aqadm.drop_queue_table( queue_table => ' WF_JMS_IN', force => TRUE);
    Exec dbms_aqadm.stop_queue( queue_name => ' WF_JMS_OUT', wait => FALSE);
    Exec dbms_aqadm.drop_queue(queue_name=> ' WF_JMS_OUT');
    exec dbms_aqadm.drop_queue_table( queue_table => ' WF_JMS_OUT', force => TRUE);
    위 queue들이 drop되면 아래 sql을 다시 실행해 주세요.
    sqlplus apps/apps @$FND_TOP/patch/115/sql/wfjmsqc.sql applsys apps
    그리고 확인차 wfver.sql를 돌려주세요.
    (Note: The file wfjmsqc.sql has been replaced in 9.2.0.4 with wfjmsqc2.sql.)
    2. 11.5. 7 이전 버전은 JDK 1.3을 CM node에 설치해야 하고 patch 2356331 를 적용해야 합니다.
    Please reference:
    Note:242941.1 (How To Troubleshoot Java-based Workflow Notification Mailer In 11.5.9 and OWF.G)
    Note:130091.1 (Upgrading Oracle Applications 11i to use JDK 1.3)
    3. 환경변수 AF_JRE_TOP, AF_CLASSPATH, and AFJVAPRG 가 $APPL_TOP/admin/adovars.env에 제대로 설정되었는지 확인해 주세요. 그리고 이들이 JDK 1.3.1을 가리키고 있는지 확인해 주세요.
    Reference Documents
    Note 278428.1

Maybe you are looking for

  • F110 - Automatic payment. How to restrict picking up payments say,$10.

    Hi Everyone, Automatic Payment proposals when run, currently picks up all amounts including little cents like , 0.35. The payment method is Check and this involves cutting cheques for very small amounts. How to restrict the program from picking  up a

  • My iMac has slowed to a crawl

    My iMac is running extremely slow (10-15 minutes to open up small simple applications). I ran Disk Utility and when I repaired permissions, I noticed a warning ( Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/M

  • Lots (2.24GB) of "Other" content on my 16GB 4S

    I've got a 2+yo 16GB 4S (I know, how pathetic and behind the times am I), and on my last sync, I noticed there was 2.24GB of "Other" content on it. I've had around 1.8/1.9GB Other content on it for a while, but since upgrading to iOS 8.0.2 last week,

  • Drill down using more than three items

    Is it possible to supply more than three parameters to the column link? I am making a drill down from summary report to the detail report, and I need to pass five parameters to the detail report. The list of items under Application Builder > Applicat

  • Price indication is SO (Sales Order)

    Hi all, Under Sales order, can we know what price list did the user use to the entry? As far as i'm concern, we can actually see direct from the business partner itself. Meaning to say, if customer A is tagged to price list A, so whenever the users c