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.

Similar Messages

  • 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

  • Conditions for contract workflow approval  agent.

    Y'all,
    I would like to know if its possible to have conditions in the WS14000088 contract workflow to assign the approval agent/user depending on contract values, for example i mean:
    "if the contract has an specific value at item level then assign the approval to the business unit manager... or if the contract has an specific value at header level then assign the approval to the category manager..." etc.. etc..
    Is it possible? if yes, how do you commit it into the system?
    Regards,
    Gerardo.

    Hi Jerry,
    Yes it is possible to have a conditions to assign and determine the approval agents depending on the value of the contract.
    Goto tcode SWDD and for the appropriate task in the workflow 'WS14000088' create the condition. The work item for this step can be executed when this condition for work item generation is met. If there is a requested start for this work item, this is checked separately when the condition is met.
    Reward points if the answer is helpful.
    Regards,
    Andy.

  • Ad hoc approval request in workflow

    Hi experts,
    Ad hoc approval request in workflow ,user should  forward work item multiple times for different users . Ad hoc approval multiple times to the same or different employees. Could you please provide me steps by steps how I need to create ad hoc .

    Hello Ganesh !
                    Hope you want to define ad hoc agent agent assignment.
                   If so, choose the activity step(the task's work item that you want to send)  in workflow  and from the menu take path :  Extras -> Ad_hoc functions -> Enable the Adhoc Agent Assignment.
                   In expression part , now you can find &Agent_0001.Agents& have automatically appeared.The one who want to start the workflow,can mention the SAP logon id of the agents to whom the work items needs to be sent.
    Regards,
    S.Suresh

  • Regarding Approver agent determination

    Hi,
            I am new to SRM and i have a requirement to change the Workflow which is trigerred whenever a shopping cart is created and mail is sent to the approver for approval of the same.
           Here on creation of shopping cart i need to do some changes while determining the approver and i dont know exactly in where is this approver determined. Business object BUS2121 has been customised.
           Can any one please let me know the place exactly where this Approver Agent is determined, i need the method and the business object.
    Regards,
    Ravi G

    Hi,
    Whcih Workflow are you using for the Shopping cart approval?Based on the workflow used,teh agent determination varies e.g. for the Std 1step  ,2 step approval workflow,agent assignement is done at the task level but for N step approval workflow the agent determination is done thorugh the BADI "BBP_WFL_APPROV_BADI".
    See teh foll link for more details:
    SRM Business Workflow
    http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/frameset.htm
    Setting Up SAP Business Workflow
    http://help.sap.com/saphelp_srm50/helpdata/en/ee/277e3c281f1817e10000000a114084/frameset.htm
    Related links ->
    Re: SRM workflow doubts....
    Triggering SRM workflow from a  web-based form (HTML)
    Workflow debugging
    Re: Triggering an alert
    Depending on the Approval Workflow, you are using, there are Binding Events under the Triggering Events tab of the Workflow inside the Workflow Builder (Transactions - SWDM / PFTC ).
    There the event can be defined, depending on the Business Object Type methods avaiable in SWO1 Transaction for BUS2121 in our case. (SAVED => Reqt cov. request Shop. cart created )
    Refer to this link for more details.
    http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • Preview of approval chain before workflow gets triggered

    Hi Guys,
         I have a different requirement where users want to see the preview of approval chain before workflow gets triggered. I mean once we enter all the data in transaction, after the data validation is done then they want to see the approval chain. What is the best way to achieve this functionality. your input/ideas are highly appreciated.
    Thanks
    VT

    There is no easy way to do this. Basically the only possibility is to enhance your transaction with a subscreen or a tab where you have to simulate the logic used in your workflow to find agents and show the result of that simulation.
    If you are in a homemade transaction it should be pretty easy to do. If you're in a SAP standard transaction it may become a really tough modification/enhancement.
    Cheers,
    Patrick

  • Select the approval Agent for Modeled Deadline Monitoring for WF WS14000133

    I have setup a deadline monitoring for WF WS14000133 using the modeled approach and added the "Send Mail" Test along with a Loop so that the the appover will get an email every day after three days of not approving a shopping cart.
    I noticed in task "109 Subworkflow n-step over Value" there is a task container element "&APPROVALAGENTS.ACT_AGENT&" which contains the approver. I am tring to put it in a Workflow container element that I created referencing "WFSYST-AGENT". When I try to setup a binding to import the value from the task container to the workflow container I get the following error:
    "Data object 'APPROVALAGENTS' is elementary )component 'ACT_AGENT' does not exist)
    Does anyone know how to fix this or does anyone know another way I can get the approval agent to the WF container so that I can send the email to them in the "send email" step?
    According to SAP this can be done....this is what they say on help.sap.com:
    "Actual agent: Element WIActual_Agent in the task container
    If you want to transfer the actual agent of a work item (available under the element ID WIActual_Agent in the task container) to the workflow container for further use, you define an appropriate element in the workflow container to contain this information.
    You create this element with a reference to the ABAP Dictionary field WFSYST-AGENT."
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/e4b06d453d11d189430000e829fbbd/frameset.htm

    hi ,
    the field actual agent gets will filled once the responsible agent completes / performs an action on it. Hence it is suggested to use some method / rule to get the responsible agent and create one local workflow container variable (table) to fill up the agents instead of manipulating the workflow variables directly.
    In this way, you can check if the table of agents and then send accordingly the deadline messages.
    Hope this helps.
    Best Regards,
    Saujanya

  • 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.

  • N level-Approval for contract workflow (WS14000148) in SRM

    Hi SDN'rs
                  I want to activate N level-Approval for contract workflow (WS14000148) in SRM  
    When I am creating the contract in SRM I can see the approvers in the approval preview.
    But when I release the contract and look at the approval privew there are no approvers
    and the status of the contract is released.
    We are on SRM Server 5.5 and SP 07.
    Here what I did
    1. I implemented the BADI 'BBP_WFL_APPROV_BADI' using the sample implementation and populated the approvers.
    2. I activated events SAVED,CHANGEVERSIONSAVED for WS14000148 in OOCU transaction.
    3. I see event linkages for WS14000148 for both events SAVED,CHANGEVERSIONSAVED in SWE2 transaction.
    4. I assigned role SAP_EC_BBP_PURCHASER to for subworkflow N step for contract WS14000147.
        ( User who is creating contract has this role)
    5. Consistency check for WS14000148 is green and WS14000147 is yellow in SWUD
    6. Event simulation for BUS2000113 and events SAVED,CHANGEVERSIONSAVED shows WS14000148 successfully started.
    I see dump in ST22 with errors TSV_TNEW_PAGE_ALLOC_FAILED and SYSTEM_NO_SHM_MEMORY with WF-BATCH is this any thing to do with that?
    If any one know what are the steps I am missing please let me know.
    Thanks
    A S

    Hi
    Please refer to these OSS notes which might help.
    <u>Refer to following OSS Notes -></u>
    Note 735026 - Memory problems at BBP_GETLIST_INDEX_FILL
    Note 932836 - BBP_GETLIST_INDEX_FILL: Activation not possible
    879528 WS14000148: Send mail to initiator incorrect
    901200 WS14000148 dia wrk item despite NO_FURTHER_APPROVAL_NEEDED=X
    879873 BUS2000113: The Object_ID attribute may be empty
    903015 BAdI Workflows: Events and parallel steps
    901068 BAdI Workflows: Enhancement of Note 896556
    769458 Dynamic workflows: No adjustment after document change
    972757 Occurence of the SYSTEM_NO_SHM_MEMORY runtime error
    741864 FinBasis: Termination TSV_TNEW_PAGE_ALLOC_FAILED
    864473 Deactivating the shared memory when searching by prefix
    928642 Container factory: Shared memory dump update
    Refer to these links.
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/26/0f8b41ed891609e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    </b>
    <u>Also raise an OSS message with SAP as well.</u>
    Regards
    - Atul

  • 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

  • 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.

  • After Approving Content from workflow, status of content is still 'Review'

    Hi,
    I am new to oracle UCM, so I have created a simple workflow for beginning. It has only one activity which triggers when some content of particular content type is checked. There is no script associated with any of the workflow events. Workflow is working fine except one issue.
    When reviewer approves the content, workflow does not release the content and worflow is still shown in 'Active Workflows' list. I cant see the content even in search as status of content remains 'Review'.
    Am i missing something ??
    Please guide!!!
    Thanks in advance
    Amarpal

    Hi,
    please provide more information on workflow configuration:
    1. Is it criteria workflow?
    2. How many users are involved in review step?
    3. What shows workflow info page of this document?

  • Approve step in workflow

    Hi Folks,
    Can someone explain how the Approve step is used in case a record is not approved ?
    example.
    Start->Process->Approve -> syndicate
                            -> reject-> send notification.
    -Vinay

    Hi Vinay,
    The MDM workflow step is used for providing an Approval on the already craeted/Enriched records in MDM.The approver in MDM is allowed to approve or disapprove the records.
    The disapproved records go back to the previous step and teh process step team ahs to correct teh records and send it again for approval.
    The workflow steps will be as follows
    Start->Process->Approve->Notify ->Stop
    The notify step can be used ater nay atep if you want to users of the workflow to be notified of the staus of the completed task and the stataus of teh task to be completed.
    You can folow some of these helpful links on how to use MDM wf effectively
    Workflow:Disapproved records
    Re: How to use the Validate step for Approve step
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60f28084-b90e-2b10-3eb6-d6565367048a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/001d22fb-622d-2b10-22ac-998acecf68a8
    Hope It Helped,
    Thanks & Regards
    Simona Pinto

  • How to approve conent from workflow queue ?

    Any idea how to approve content from workflow queue when user is not reviewer or authorized to take action of current workflow step. ?
    how we can modify the user permission on content for approve/reject content from workflow queue when content is not in workflow queue of current user ?
    Or How can user take workflow action on content when content is not in workflow queue of user ?

    Any idea how to approve content from workflow queue when user is not reviewer or authorized to take action of current workflow step. ?OOTB this is certainly not possible. By installation of a workflow you intend to automate a business process; i.e. the situation you are asking about is exactly what you want to prevent. Therefore, the initial question should be: do we want to automate this process and if so, is WebCenter Content the right tool to do it (note that WebCenter Content is not a BPM system!).
    The world, however, is not black or white - sometimes you have to use the tool that you have. In WebCenter Content, there are certain situations which cannot be meet by the OOTB design, but their customization is relatively easy. Some of them is described in the manual: http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c05_workflows.htm#CIHCHJEA or http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c05_workflows.htm#CIHGIDGB
    The basic idea is that will use workflow step events (entry, update, exit) to implement additional logic (like adding a reviewer or auto-jump to an escalation/special treatment step on certain conditions). This might also require GUI changes - e.g. if you want to enable a reviewer to delegate his or her role to a third person.

  • 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

Maybe you are looking for

  • Date Range on Selection Screen not working

    Hi All, I have a selection screen with 3 selection options on there to run a report. 1) Today 2) Yesterday 3) This week Now the first two are working fine but number 3 This Week isn't.  Any reason why? This week basically means Monday to Friday of th

  • How to use REFind

    Hi, I am not really familiar yet with regular expressions. Can anyone help me how to check on a string pattern? I want to check a string if it has this pattern: {ts '2008-07-28 15:10:50'} Or is there another way instead of using REFind? Thanks.

  • Can not install glibc-devel-2.12-1.80.el6_3.3.i686.rpm

    I am trying to install this rpm, but got the following error, it needs dependency of itself. Please help me out, much apprciate it. # rpm -Uvh ./glibc-devel-2.12-1.80.el6_3.3.i686.rpm warning: ./glibc-devel-2.12-1.80.el6_3.3.i686.rpm: Header V4 DSA/S

  • Linked server from SQL2012 to SQL2000

    I need to set up a linked server to a SQL 2000 server from my new SQL 2012 server.  I see that the Native Client does not support access to SQL 2000.  What is a supported method/client I can use?

  • Jsfx  work error 11 pw 2

    we create a basic jsf page and run the fallowing error occurs. on explorer windows address is.. http://127.0.0.1:8988/Application3-ViewController-context-root/faces/WEB-INF/giris.jspx The webpage cannot be found HTTP 404 Most likely causes: There mig