Changing userid or holderid in the workflow

Hello,
I have a query regarding Changing userid or holderid in the workflow.
Details:-
1) While executing the workflow,at runtime i need to change the Holder id to test the workflow.
2) how to determine holder on basis of position or job.
Thanks & Regards,
MrunalPatil.

Hello Mrunal,
1) While executing the workflow,at runtime i need to change the Holder id to test the workflow.
You can use a Rule Based Function module or a Custom method to pass the agents at Runtime.
Using WF_TASK-.AllAgentsOfTaskGetAndDispatch, which will prompt you to enter the Agents for next workitem.
2) how to determine holder on basis of position or job.
Position or Job are not changed directly at runtime, only if you pass the Position at run time it will pull all the Users assigned to that position and will send it to those users.
Thanks,
Sudhir.

Similar Messages

  • Standard Tool / Program to Change the Workflow Status

    Hello,
               I would like to know if there is any standard program to Change Status of the Workflow from IN PROCESS to ERROR. I know that there are Standard SAP tools using which we can restart the Workflows that are in ERROR Status. But for changing the Status of the Workflow from IN PROCESS to ERROR, I've not come across any tools / programs. I would really appreciate your help. Thanks in advance.
    Regards,
    Venkata Phani Prasad K

    sorry correction ..FM SWW_WI_CALLBACK_CHANGE_S can be used to correct the status without any check.
    I came across this issue where a dialogue workitem was logically deleted in order to remove it from the user inbox. Later an incident was created that the work-item is still needed to perform the rest of the workflow action. The solution should have been to complete the work-item by executing the terminating event of work-item or complete the work-item manually(SWIA). But instead some one performed  logical deletion.
    so in order to revive the workflow i needed to change the status form logically deleted to ready status. for this i found this FM which successfully changed the status form logically deleted to ready status. It though lost the agent assignment but i forwarded it manually to respective user.
    Regards
    Dharmendra
    TCS India.

  • How to find the recent changes done in the workflow by user id ?

    Hello all,
    How to find the recent changes done in the workflow by user id ?
    I have made changed in Production system .
    Like changing the status ,
    changing the agent ,
    but for these it will , not ask for any request .
    So i want to know is there any method to find what are the changes done by me ?
    Thanks and regards
    Prem

    Hi,
    This is caused by mandant settings in scc4. It's better not to make changes in PRD, because then your DEV en QA systems differ.
    Kind regards, Rob Dielemans

  • Changing the workflow polling interval from 5 minutes

    Trying to reduce the workflow polling internal from 5 minutes to something shorter. When a Change Request is created, the approval email goes to the manager and they reply with [Approved] or [Rejected] in the email. It sits in the workflow mailbox for
    5 minutes before getting processed. I am sure its just editing the Management Pack but I can't figure out when setting to change and what to change it to if we wanted to reduce it to say 1 minute.

    I THINK you are referring to the polling interval on the Exchange connector. this controls how often the workflow is executed that reads data from the mailbox. This operations is relatively expensive, so 5 minutes (300 seconds) is the default and recommended
    minimum. you can adjust this interval from the configuration UI. 
    the workflow polling interval is how frequently each workflows is checked to see if they should run, and this is 30 or 60 seconds for most workflows. the polling interval is NOT how frequently the workflow executes, but instead HOW FREQUENTLY IT LOOKS TO
    SEE IF IT SHOULD RUN. Take a look at http://blogs.technet.com/b/servicemanager/archive/2013/01/14/troubleshooting-workflow-performance-and-delays.aspx
    for more details on what this value means.

  • How to change the Workflow Business Objects

    Hi,
    How to change the Workflow Business Objects. I need to add custom code to the Method. can I create only custom method or I need to copy the existing object to Custom object .
    Thanks
    Niranjan

    Hi,
    Check the following link:
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://www.sapmaterial.com/badi.html
    Regards,
    bhaskar

  • Implications of changing the workflow administrator

    Hi,
    The workflow administrator left my company years ago so all the errored workflows have been going into a 'black hole'.
    If I was to change the administrator to myself what consequences will this have other than me receiving the errored emails. Is there anything I need to be aware of or is it a straight switch.
    Thanks in advance
    Liam

    Hi
    It is a straight switch. Not to worry. You can further use SWI2_DIAG to find out workitems that are in error this is a very good monitoring tool. <b>Please award points if useful.</b>
    Thanks
    Arghadip

  • Change the Workflow creator ID

    Hi All,
    All the workflows are initiated with WF-BATCH in one particular client and this ID configured with US time.
    But now client want the to use a new ID WF-A-BATCH(which is configured to ASIA time) for particular set of operations only.Since there is a restriction on the RFC definition(one definition per Client).
    Is there any way to change the workflow ID after it triggered with WF-BATCH. So that the operations can be  done with WF-A-BATCH.
    Thanks in advance.
    With Regards,
    Aditya

    Hi Rick,
    Currently, we are facing the Date issue in the 2nd leg documents.
    Details of the issue:-
    ***1st leg documents are manually created and 2nd leg documents are automation(workflows) using the 1st leg document.
    Issue: - If the user in Asia creates the 1st leg (all the documents are in Asia time) and the workflow is triggered to create the 2nd leg documents. Since the workflow creator is WF-BATCH(US time), all the 2nd leg documents are in US time.
    We cant change the WF-BATCH user setting, since it is used across.
    Please suggest any solution for the same.
    Thank you in advance
    Regards,
    Aditya

  • How to find the workflow for Change Request for the PO's

    Hi All,
    We have a PO which is pending and we can't receipt it again nor make payment on this. After checking the Approval history for that PO we found that the change request has been made. The change request was to change the amount to be paid to R39196 instead of R58237.00. We don't know where to check the workflow for the change request to identify the cause.
    what i need to know is how to find the workflow for that change request? The other workflows can be checked using the po_header_id for the PO's but i am confused with the change request workflow
    Your input will be highly appreciated.
    Thanks in advance
    Rgds,
    Sonia

    For 11.5.10.2 run this query to determine the keys to search on:
    Select wf_item_type, wf_item_key from APPS.po_change_requests where document_type = 'PO' and Document_num = 'put-PO-number-here'
    Then use the keys returned by the query to look up the Workflow in
    Workflow Administrator Web Applications / Administrator Workflow / Status Monitor
    Search using the results returned in fields "Type Internal Name" and "Item Key" in Status Monitor
    The query for change requests on a specific Requisition would be:
    Select wf_item_type, wf_item_key from APPS.po_change_requests where document_type = 'REQ' and Document_num = 'put-Req-number-here'

  • Change PR Approval Workflow Creator to whoever Generate the workflow

    We had a situation in our PR approval workflow: When PR creator had resigned, the new approval workflow does not reflect the last
    person who changed the PR. It's still showing workflow creator as PR creator instead. Is there any way we could change workflow creator ID to whoever generate the workflow?
    Thank you for your supports.

    Hi, You have to change the PR workflow creator ID through the below path,
    OLME -> Purchase requistion -> Release procedure -> Procedure with Classification -> Set Up Procedure with Classification -> Then double click on Workflow, do your changes for workflow creator ID over there.

  • How to change the workflow agent manually ?

    Hi,
    We encountered a situation where the workflow was received in error by a person. We are unable to determine the root cause of the problem as it was the first and last time we encountered this situation and we are unable to replicate the same error again.
    I want to remove this workflow from that person's inbox manually and assign it to the intended recipient, how do I do this ? Could someone help me out with this situation, thanks.

    Yes i agree with rick,
    Dont think that WF log can be deactivated also if this is the case then how can you see workitem, may be the case that you dont have auth to view wf log (or if are using latest ECC versions then when u execute transaction SWi1 and open any workitem then type ctrl+p this will lead you to workfow log).
    Try using SWI1, as workaroung you can use transaction SWIA to forward workitem to desired agent.
    -Swapnil

  • Workflow 2013 change user executing the workflow

    In a new workflow 2013, I would like to have the entire or part of the workflow to run under the id of a user that is not executing the workflow. The id of the user would have higher permissions than the user that is actually running the workflow and
    would have at least 'edit' permissions.  I would like to run the workflow under a different user so that the person that is  executing the workflow will have permissions on the custom list that they submitted to the workflow set to view only. Thus
    once the permissions on the custom list are set to view only, the workflow would need to run as another user.
    Thus can you tell me and/or point me to a link that will display how to execute a workflow 2013 with a different user that did not start the workflow? Basically the workflow would be run by a user that did not start the workflow.

    Hi scampsman,
    As dmadelung said, Impersonation step is unavailable in SharePoint 2013 workflow, you can create a workflow using SharePoint 2010 platform, and use Impersonation step in this 2010 workflow.
    If you want to use the function in SharePoint 2013 workflow, you can use "Start a List Workflow" to trigger the SharePoint 2010 workflow in SharePoint 2013 workflow.
    More information about How to trigger a SharePoint 2010 workflow from a SharePoint 2013 workflow, please refer to the link:
    http://blogs.msdn.com/b/sharepointdesigner/archive/2012/08/18/how-to-trigger-a-sharepoint-2010-workflow-from-a-sharepoint-2013-workflow.aspx
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information.

    I started getting these errors on one of my lists that has several workflows running on it. The strange thing is it has been running pretty much error free for 1.5 years and we have not made any changes to the workflows and no updates have been applied prior
    to the errors staring.
    It is typically always the same workflow but it doesn't always happen, only some of the newly added list items will error. If I simply cancel the current instance and manually start it again it runs fine to completion and it only seems to error out
    at the start.
    Most of the other workflows pause/wait for a status change but I will be reviewing all the workflows to confirm there is no locking conflict. I have added a Wait to one other workflow that I know will update the list item on startup, it is populating
    the Title column but even after that I am still getting the error.
    I noticed in the TraceLogs, 2 errors that started on Feb 2 and I could not find them in any previous logs (went back many days with no occurrences).
    02/02/2015 07:15:55.93  w3wp.exe (0x1C50)                        0x18D4 SharePoint Foundation        
     Workflow Infrastructure        88xr Unexpected WinWF Internal Error, terminating workflow Id# 6cbf1da4-fbf9-4dfe-ae48-b6d765cc6d03 
    02/02/2015 07:15:56.37  w3wp.exe (0x1C50)                        0x2140 SharePoint Foundation        
     SPRequest                      8l3a Medium   Failed to cache field with id "{49af83c9-c5e3-47db-b055-bf18673bba67}", overwrite=0
    The "Field ID"{49af83c9...} listed is a Lookup column to a Clients list on the same site.
    Any suggestions on what could be causing the sudden errors. I will be reviewing all other workflows but as I mentioned previously, this system has been working great up until Feb 2 with no changes to the lists or workflows for 3-6+ months.
    Thanks in advance.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

    Thanks for the quick response Nikhil.
    Our SPF 2010 server is relatively small to many setups I am sure. The list with the issue only has 4456 items and there are a few associated lists, eg lookups, Tasks, etc see below for count.
    Site Lists
    Engagements = 4456 (Errors on this list, primary list for activity)
    Tasks = 7711  (All workflow tasks from all site lists)
    Clients = 4396  (Lookup from Engagements, Tslips, etc)
    Workflow History = 584930 (I periodically run a cleanup on this and try to keep it under 400k)
    Tslips = 3522 (Engagements list can create items here, but overall not much interaction between lists)
    A few other lists that are used by workflows to lookup associations that are fairly static and under 50 items, eg "Parters Admin" used to lookup a partners executive admin to assign a task.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information. Outcome: Unknown Error

    Received this error (The workflow could not update the item, possibly because one or more columns for the item require a different type of information.) recently on a workflow that was
    working fine and no changes were made to the workflow.
    I have tried a few suggestions, i.e. adding a pause before any ‘Update’ action (which didn’t help because the workflow past this action without incident); checked the data type being written
    to the fields (the correct data types are being written); and we even checked the list schema to ensure the list names and the internal names are aligned (they
    are), but we still cannot figure out why the workflow is still throwing this error.
    We located the area within the workflow step where it is failing and we inserted a logging action to determine if the workflow would execute the logging action but it did not, but wrote the same error message.
    The workflow is a Reusable Approval workflow designed in SharePoint Designer 2010 and attached to a content type. 
    The form associated with the list was modified in InfoPath 2010. 
    Approvers would provide their approval in the InfoPath form which is then read by the workflow.
    Side note - items created after the workflow throws this Unknown Error some seem to be working fine. 
    We have deleted the item in question and re-added it with no effect. 
    Based on what we were able to determine there don’t seem to be any consistency with how this issue is behaving.
    Any suggestions on how to further investigate this issue in order to find the root cause would be greatly appreciated?
    Cheers

    Hi,
    I understand that the reusable workflow doesn’t work properly now. Have you tried to remove the Update list item action to see whether the workflow can run without issue?
    If the workflow runs perfectly when the Update list item action is removed, then you need to check whether there are errors in the update action. Check whether the values have been changed.
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • Which field is the workflow trigger for a Contract Agreement ?

    Greeting everyone,
    I am not sure if this has been answer before or if this is the correct forum. If not, apologies in advance and do direct me to the appropriate topic/forum.
    I have an inquiries with regards to Contract Outline agreement and workflow trigger.
    Based on my company configuration, the trigger is based on the changes in value and release strategy.
    What I am unsure is that which field the workflow-trigger checks?
    Does SAP checks the field "Target Value" in contract header, or  the sum of net value in each of the contract items?
    Thank you

    Hello Sek,
    In contracts, the target value is used for the release strategy determination and not the net contract value. If you maintain a target value in the contract header, this value is set in field CEKKO-GNETW to determine the strategy. If no target value exists on header level, a cumulation of the target values of the items is carried out and used for the release strategy determination.
    Regards,
    Mauro

  • When running the workflow background process for drop shipment order, sale order line's status gets automtically closed instead of awaiting shipping

    Hello friends,
    I am created a drop shipment order with all the setups done . now i have booked the sale order as source type external. but when i run the workflow background process , after completing the report when i check the sale order line status it changes to "closed" instead of "awaiting shipping".
    Plz guide me if i have missed something in the setups.
    thanks,
    Sachin

    Hi Sachin,
    pls check the below notes from MOS
    Drop Ship Sales Order Cycle In Order Management (Doc ID 749139.1)
    Vision Demo - How To Create A Drop Ship Sales Order/Purchase Order (Doc ID 1060343.1)
    Thanks
    -Arif.

Maybe you are looking for