IDE: automatic start of workflow for switch document

Hello guys,
Please, can someone tell me how do you automatically start the distributor workflow (WS20500195) without using SWUD transaction?
I created the switch document ( switch view: distributor, switch type: end of supply), but the workflow won't start automatically, although is activated in SWE2 transaction.
Thanks,
Regards,
Eduard M.

Hello Anand,
The workflows (distributor, new supplier, former supplier) were activated in SWE2 transaction.
I also activated the triggering events from SWDD transaction for each workflow.
Object type: ISUSWITCHD
Event of the object: CREATED
The thing is that after creating the switch document, I thought the workflow will start automatically (i mean after having customized the workflows in SPRO + SWE2 + SWDD).
Anyway, thanks for your help.
Best regards,

Similar Messages

  • Start a workflow for a list item that was created by someone else

    What settings do I need to change so that I can start a workflow for a list item created by another user?
    I have a SharePoint 2013 workflow (let's call it LSR Status Workflow) that is associated with a list (called
    LSR List). When a user creates an item in the LSR List, it automatically starts the
    LSR Status Workflow. That is what I wanted, but sometimes I make changes to the workflow (via SharePoint designer) and then I would want to terminate the existing workflows that are running and restart them.
    When I try to start a workflow for anyone other than a list item that I created, I get the following error:
    Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP NotFound to https://publishing.web.company.com/sites/mysite/_vti_bin/client.svc/web/lists/getbyid(guid'1f844b8f-19aa-4587-bcc2-dfb7085f36b5')/Items(31)
    Correlation Id: 8efc5304-f0a3-90f6-8ece-6875bf811869 Instance Id:
    60c83aae-5c25-4ee8-9c85-c64958ba701e
    Then when the workflow is finally suspended after it keeps retrying, it reports the following error:
    RequestorId: 8efc5304-f0a3-90f6-0000-000000000000. Details: An unhandled
    exception occurred during the execution of the workflow instance.
    Exception details: System.ApplicationException: HTTP 404
    {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["36"],"SPRequestGuid":["8efc5304-f0a3-90f6-9bbd-d18d4d90af1b"],"request-id":["8efc5304-f0a3-90f6-9bbd-d18d4d90af1b"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4551"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Tue,
    10 Feb 2015 22:36:44
    GMT"],"Set-Cookie":["BIGipServerpublishing-blv-80-pool=2825582466.20480.0000;
    path=/"],"Server":["Microsoft-IIS/7.5"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
    at
    Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
    context) at
    System.Activities.CodeActivity.InternalExecute(ActivityInstance
    instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at
    System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor
    executor, BookmarkManager bookmarkManager, Location resultLocation)
    If I created the list item, I can stop it and restart it without any problems, but this is not the case for list items created by someone else.
    What settings do I need to change so that I can start a workflow for a list item created by another user? I am the owner of the SharePoint site and am able to make changes to permissions if needed.

    You don't need to re-do the fields. If you create a new version of the PDF
    file just open the old one and use the Replace Pages command to insert the
    pages from the new version over the old ones. This will give you a new
    version of the file, with the existing form fields still in tact. Of
    course, you might need to adjust their location and/or size, but at least
    you won't have to start all over again...
    On Thu, Jan 22, 2015 at 11:59 PM, Laura Holancin <[email protected]>

  • Workflow for parking documents

    Hi all
    Can any one explain me, wht is workflow and how to create?????
    I need to creat workflow for parking documents??
    It is urgent..
    Thanks in advance

    Silky,
    Before putting up such a broad-bases query to this forum, try doing some homework. This (type of) query can't exactly be answered long distance!
    Anyway, to get you started, I'd recommend SAP Help: http://help.sap.com/erp2005_ehp_01/helpdata/en/fd/517b42303e0e53e10000000a155106/frameset.htm
    Second step - use Google!
    Trust me, it works - always.
    Best of Luck
    Regards
    Gulshan

  • Payment release workflow for MIRO documents

    Hi,
    I have activated payment release function and successfully able to get workflow item for payment release for FI invoices posted through F-43 and FB60, but not on RE documents which are posted through MIRO,
    Can some body provide inputs on how to trigger a payment release workflow for MIRO documents.
    Thanks
    Amanullah

    Hi Amanullah, How are you?
    Did you get an answer about this situation ? I am trying to do the same thing by FI or by MM and I'm worrying if we can to do by Standard SAP. In FI I'm trying to do via spro:
    SAP Customizing Implementation Guide=>Financial Accounting=>Accounts Receivable and Accounts Payable=>Business Transactions=>Release for Payment
    Did you remember how can you get the solution?
    Thanks and regards,
    Jeovana

  • Function module to find list of workflows for a document

    Hi
    Is there any standard function module where I can get list of active workflows for a document ?
    example : for business object FIPP I have a document number, fiscal yr and co code. I need to get like of workflow instances for it.
    what we do in SWI6 or in display transaction - services for objects - workflow overview.
    I need find function module as I need to call it in a user exit.
    thanks
    bhakti.

    Hi,
    Concatenate the fields in the following order:
    1. SourceCompanyCode
    2. DocumentNo
    3. FiscalYear
    Use
    CATID = 'BO'
    TYPEID = 'FIPP'
    INSTID = Concatenated value
    in SWW_WI2OBJ to find TOP_WI_ID. Use this TOP_WI_ID  as an input Parameter TOP_WI_ID of table SWWWIHEAD.
    This will give you all workitems for your Document.
    Regards
    Gautam
    Edited by: gautam maini on Jul 7, 2011 2:23 PM

  • Triggering of Workflow for park documents based on Document type.

    Hi,
    I have activated workflow for park documents but it is triggering for all document types. Client dont want workflow for Customer park documents.
    I assigned SA document only in "release approval path" but it is triggering for all document types.
    Please help me.
    Thanks.
    Azeem

    Hi Azeem,
    We have the same requirement. Would you mind sharing how you were able to accomplish this?
    Thank you,
    Mark.

  • Create workflow for parking document

    hiiii all
    can any one tell me in detail, what is the function of  creation of work flow for parking document? and how do i configure? and how do i assign with user? please help
    menu path :- financial accounting global settings - document - document parking - create workflow for parking document
    regards
    rajesh
    Moderator: Please, search before posting. These are standard WF functionalities of SAP. If you have particular question about WF, please ask it on a proper forum

    Hi,
    Are there any special settings for SUBWORKFLOWS
    There is no Special Setting for Sub Workflow.
    Only error which i get in my inbox is
    Please repair the suspended workflow
    1) Once you get the Error, open a new session goto T.code SU53 and see any authorization issue
        If Yes, send the screen shot to Basis Team to get the authorization.
    2) If Authorization is fine, Check the binding for that Workitem Regenerate and Test it . Also Check the Workflow log and see  which step error is showing, then see the Step history comments.   .
    Regards,
    Surjith

  • Starting a workflow for a PCR form

    Hello,
    We installed the MSS business package. I would like to know how to start a workflow for a PCR form (example: Request for Promotion). The workflow just needs to be simple one step approval from manager.
    What configs are needed in SPRO or elsewhere?
    Thanks,
    Rob.

    HI,
    You can use transaction QISRSCENARIO for that and the IMG path is below -->
    Cross Application Components>Internet/Intranet Services>Internal serive request--> Define Scenarios.
    Now Select the scenario and then click the display button.If you are using JSP in frontend then click the additonal data for scenario. Here you will find the WF.
    Or you can call the WF in your custom program also.
    Thanks & Regards,
    Sandip Biswas

  • Can you automatically start programs when you switch on your imac

    can you automatically start programs when you switch on your imac

    Yes, go to: Apple / System Preferences / User Groups / Login Items and add the Application to the list of things automatically set to start at login.
    However, you should limit it to those that you need or use, because adding a lot will needlessly slow down your startup time and use more RAM.
    Message was edited by: den.thed
    Oop'  late on the draw again, glad your question is answered.

  • Workflow for approving documents: rejected document

    Hi expert colleagues,
    at my client we are implementing the workflow functionality for approving documents (EhP2). I managed quite easily to set-up the basic workflow as described in the documentation. I have one question though, the problem is the following:
    Step 1: a correction document is entered by the corporate consolidation team person 1 and a workflow is triggered
    Step 2: the document is rejected by the approval agent of the consolidation unit
    Step 3: the rejected document becomes available for person 1 of the consolidation team, but the person is not present that day. Another person of the consolidation team wants to pick-up the rejected document, adjust it and start the workflow again. This seems to be impossible, the rejected document can only be modified (or discarded) by person 1. Even if person 1 identifies a substitute, the substitute cannot change the rejected document.
    Question: is there a way to let another person pick up a rejected document?
    Thx, ewald

    Hi,
    you can probably assign multiple approval agents to one consolidation unit. But in the case there is a rejection by one of the agents the document goes back to the initiator.
    The document initiator can only discard or change the document via the consolidation monitor, task manual posting. And the initiator is the only one who seems to have the power to call up a rejected document (in that way it looks a bit as a user specific held document).
    Any extra thoughts or should I look on the workflow forum?
    Kr

  • How to start approval procedure for a Document/Draft using DI API

    Hi!
    My code imports purchase orders from one non-B1 system to SAP B1 using DI API. The problem is that in B1 system there is an approval process configured and I need the newly created purchase order to enter this approval process.
    Currently this is not done because approval procedure isn't triggered when creating documents using DI API.
    I had an idea to create a draft of PO instead of the PO and then push this draft into approval process somehow. But I can't find a way how to tell DI API to start approval procedure for my draft/document.
    Thank you for your replies!
    Jan

    Unfortunately there is no way to trigger the approval process for any object added through the DI API.
    Your workaround of adding the documents as drafts is as close as you can really come but maybe you could extend it slightly - it will involve a UI API addon:
    Make the addon mandatory, and add a UDF to the user table, for example "U_Approver" and a UDF to PO document, like "U_Approval"
    - Set this U_Approval to yes when adding through DI and add as draft
    - When user opens draft document in the application, check are they an approver (U_Approver = "Y")
    - If they are not, and try to view/add a draft which is flagged as needing approval, block them from adding.
    You could further expand your DI project to send a mail to the approver whenever a draft PO is added.

  • Enabling workflow for parked documents in FICA

    Please let me know if anyone used the standard workflow for approving parked documents before they can be posted. Please let me know the configuration and development steps needed to achieve this requirement as I could not find any kind of documentation around it.

    Found the [documentation|http://help.sap.com/saphelp_47x200/helpdata/en/96/8b4e6943ce11d189ee0000e81ddfac/frameset.htm] in regular ERP documentation. I will follow the steps in this document and post a new question if I run into any issues. Closing this one.

  • How to automatically start a workflow?

    All,
    I need to start a workflow item automatically based upon a table insert. I was hoping to use a trigger, but I could do it from within the application too.
    I have a simple workflow itemtype defined in workflow builder. It has several attributes.
    I found the pl/sql procedure of LaunchProcess which does
    CreateProcess and StartProcess, so I guess I am to use this?
    How/where do I populate the attribute values?
    Thanks,
    Tim

    Hi Tim,
    You set the attribute values by using the procedures
    wf_engine.SetItemAttrText
    wf_engine.SetItemAttrNumber
    wf_engine.SetItemAttrDate
    depending on the datatype of your attribute.
    You may also wish to use the procedure
    wf_engine.SetItemOwner
    to indicate the role that owns the item you are launching.
    Thanks,
    Gavin

  • WORKFLOW  FOR PARKED  DOCUMENT

    Hello all,
       I need to know the customising settings for workflow on parked document.how  does the subworkflow  attached to thw wf element(variant) get triggered in my main workflow for posting  of  parked document(i have  modified teh std wf for parekd document i.e.ws0040004????I jst want to know  ,how do i configure the subworkflow  for release strategy(2 level release?).
    Also how  do i configure that the  workflow  shud  be  called at which point in my workflow?
    Thanks,
    Disha.

    Hi
    Workflow variants created for document parking control whether the document release is active ant the minimum amount.
    No documents are released if any company code is not assigned a workflow variant.
    Please check if w/f vairant is assigned to company code..
    RGDs
    KIM Khan.

  • Workflow for Parked Document (FV60)

    Hi,
       Can anyone tell me which workflow to be used for Parked Documents. The tcode is FV60. And I want to know what are all the settings have to be done in SPRO tcode. Can anyone provide me step by step procedure??
    I think there are some 5 workflows : WS100000051,52,53,54,55.
    I've to config for 6 Approvers. So which one can I use???

    Hello Gurus,
        Do anyone know what are all the settings have to be done in SPRO tcode. I've done some settings in which work item goes to the users which i've assigned at the same time. I need it to go one by one approved....
    I want to know whether I should use only one approval path ?
    In Assign Release Approval Procedure for Parking Document, do i need to give only one entry or 6 entries as i'm using 6 approvals. And the amount column in that is total amount or the amount for single release??
    can anyone help me out in this ???

Maybe you are looking for