Starting workflow on delete action

Hi,
I am updating another table in the database whenever an attribute value is changed (insert, update, delete) in the master data table.
To perform this action, I have created a business rule (with event as "has changed") and it triggers a workflow to perform the table update.  Sadly, the business rule is not triggered whenever a value is deleted in the master data table. Therefore
the other table in the database is inconsitent.
Can you please provide me a way on how to modify the business rule and trigger the workflow whenever a record is deleted in MDS.
Thanks in advance!

The "has changed" only apply to attribute update. Currently, there is no way to trigger the business rule for soft or hard delete member.
To sync the MDS table to another table, the best option is expose the MDS entity to subscription view and use SQL merge to merge it into another table. 

Similar Messages

  • Using customer workflow for delete action on active sync

    The following from is called by a partent form when the feedOp is delete.
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Configuration PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Configuration name='VDSActiveSyncDeleteForm' wstype='UserForm'>
         <Extension>
              <Form>
                   <Field name='viewOptions.Process'>
                        <Expansion>
                             <s>Custom User Delete</s>
                        </Expansion>
                   </Field>
                   <Field name='deleteFields'>
                   <Field name='resourceAccounts.currentResourceAccounts[Lighthouse].selected'>
                   <Expansion>
                   <s>true</s>
                   </Expansion>
                   </Field>
                   </Field>      
              </Form>
         </Extension>
         <MemberObjectGroups>
              <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top' />
         </MemberObjectGroups>
    </Configuration>
    The default delete user workflow keeps running. I am verify this by setting the filetrace in the system configuration.
    What am I doing wrong?

    Looks like 'viewOptions.Process' does not work on a delete feedop....but this looks to work
    <Field name="processInputs.task.process">
    <Expansion>
         <s>NIPR Delete User</s>
    </Expansion>
    </Field>

  • Declarative workflows cannot automatically start if the triggering action was performed by System Account

    Hi , 
    I have very strange problem .Only in one site collection across the farm i am getting this error while starting OOTB workflow in list. Everywhere else it works, even another site collection within same web application. I have stopped and restarted all the
    work flow feature but still same issue?
    sachin

    Errors in ULS logs
    Declarative workflows cannot automatically start if the triggering action was performed by System Account. Canceling workflow auto-start. List Id: %s, Item Id: %d, Workflow Association
    Id: %s
    RunWorkflow: Microsoft.SharePoint.SPException: User cannot be found.   
     at Microsoft.SharePoint.SPUserCollection.get_Item(String loginName)   
     at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPFile file, Int32 fileVer, Int32& userid, DateTime& lastModified)   
     at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPWeb web, Guid docLibID, Int32 fileID, Int32 fileVer, Int32& userid, DateTime&
    lastModified)   
     at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.<>c__DisplayClass1.<LoadWorkflowBytes>b__0(SPSite elevatedSite, SPWeb elevatedWeb)   
     at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytes(SPWeb web, Guid docLibID, Int32 fileID, Int32 fileVer, Int32& userid)   
     at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(SPWorkflowAssociation association, SPWeb web)   
     at Microsoft.SharePoint.Workflow.SPWinOeHostServices.LoadDeclarativeAssembly(SPWorkflowAssociation association)   
     at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(SPWorkflow workflow)   
     at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)   
     at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions)
    Microsoft.SharePoint.SPException: User cannot be found.   
     at Microsoft.SharePoint.SPUserCollection.get_Item(String loginName)   
     at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPFile file, Int32 fileVer, Int32& userid, DateTime& lastModified)   
     at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPWeb web, Guid docLibID, Int32 fileID, Int32 fileVer, Int32& userid, DateTime&
    lastModified)   
     at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.<>c__DisplayClass1.<LoadWorkflowBytes>b__0(SPSite elevatedSite, SPWeb elevatedWeb)   
     at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytes(SPWeb web, Guid docLibID, Int32 fileID, Int32 fileVer, Int32& userid)   
     at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(SPWorkflowAssociation association, SPWeb web)   
     at Microsoft.SharePoint.Workflow.SPWinOeHostServices.LoadDeclarativeAssembly(SPWorkflowAssociation association)   
     at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(SPWorkflow workflow)   
     at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)   
     at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions)
    The emailenable value is true. And it just does not work for one site collection. It should not be regarding any hot fix. 
    Thank you for your suggestions and time. I will dig up further.
    sachin

  • Best Workflow for Deleting?

    Hi Folks.
    Would anyone like to suggest the best workflow for deleting files after a project? Let's assume that i have no future need for any of the captured footage or PE7 files. It would be helpful to know what the default locations are for all the footage and files that are now on my computer.
    Thanks, Stan

    In my book I recommend that, whenever you start a new project, you create a new folder for it. That way, all of your captured video, project files, rendered video and scratch files are in the same folder. Removing it all from your hard drive is as simple as deleting the folder.
    If you didn't do that, things get a bit more complicated. Once you've backed up what you want to keep, you can manually delete the captured video, rendered files, etc., from the sub-folders -- but you'll need to do it manually. Hopefully the files will be recognizable by the names you gave your project and capture files when you created them.

  • How Assigned TO field will be updated in "start Approval process" Task Action

    I have created a reusable workflow in sharepoint designer. Am using “start Approval process“ Task Action. I have a question in “start Approval process“ Task Action.
    I have username field in the list.  I have created a task form field with name username in “start Approval process“ Task Action. I have assigned list username field to task field username field.
    I have entered a user details in list user name field for new list item. Once the workflow has been started for that item a mail has been sent to the user whose name I have entered in the list user name field. Task has been assigned to the user whose name
    I have entered in the list user name field.
    When I have checked start Approval process task a send mail activity is present (Email Task notification currentitem:Assigned TO) .
    I have not update Assigned To field explicitly.
    1. Where / how the Assigned TO field is getting updated ?
    2. Workflow Initiation and task creation will be done internally by the user who created the item in the list?
    Thanks

    Hi,
    According to your post, my understanding is that you had questions about the “start Approval process“ Task Action.
    When you add the “start Approval process“ Task Action, you need to to select the user who the task assign to.
    To assign the user whose name you have entered in the list user name field, you add action as below:
    After you select the user, the Assigned TO field is getting updated.
    In addition, workflow Initiation and task creation will be done internally by the user who created the item in the list.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to assign default values to "Start task process" SPD2013 action

    I am creating a task in SPD 2013 list workflow using the "Start a task process" action. I have the ContentTypeId field set as i need to have some specific fields to be displayed in the task form.
    Is there anyway to assign values to these fields?. My goal here is to fetch some values from the "currentItem" fields and display in the Task form during the approval. So that the Approvar don't need to go and see the actual list item.

    Hi,
    If you would like to display fields about current item in Task form, please click
    these user in Workflow, and
    Start a Task Process dialog pops out. Then click Open editor for body >
    Add or Change Look up, then you could retrieve field data.
    For clearly:
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Start workflow

    Hi,
    My friend asked me to post this question in his name here.
    He wants to create a simple workflow in PM. After user creation of the equipment in IE01 workflow need to be started and give the task for asset number creation to the next user.
    Do you have any manuals like "workflow for dummies" )?
    BR
    Saso
    P

    Hi
    Workflow automates the steps and activities in a business process according to predefined procedures and rules.
    Workflow presents information and documents to the appropriate knowledge worker or agent (another entity such as a program) to make a decision or perform an activity.
    Workflow tracks each and every step in the process flow and maintains an ongoing status.
    Workflow also collects and reports all of the metrics associated with the execution and completion of the process.
    Check the below links u will get lot of info..
    http://www.sap-press.com/product.cfm?account=&product=H950
    Workflow
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    Go through the following links on FORK :
    http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/25f1e7454311d189430000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm
    http://www.insightcp.com/res_23.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    For more reference on workflow: http://****************/Tutorials/Workflow/Workflow.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/04/9277a346f311d189470000e829fbbd/frameset.htm
    Check these links.
    http://www.sapgenie.com/workflow/index.htm
    /people/ginger.gatling/blog/2005/12/01/link-workflow-business-objects-to-your-collaboration-tasks
    http://help.sap.com/saphelp_nw04/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
    http://help.sap.com/saphelp_bw33/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
    http://help.sap.com/saphelp_bw31/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
    http://www.sap-press.com/product.cfm?account=&product=H950
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    Workflow
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    Workflow tutorials with step-by-step and with screenshots are available at http://www.****************/Tutorials/Workflow/Workflow.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/c14a9b55103116e10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
    http://www.sapgenie.com/workflow/
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    Debug a workflow.
    This has a step by step procedure :
    http://fuller.mit.edu/workflow/debugging.pdf
    www.erpgenie.com/sap/workflow/debugging.htm
    http://www.erpgenie.com/workflow/debugging.htm?2b5de440
    Workflow tutorials with step-by-step and with screenshots are available at
    http://www.****************/Tutorials/Workflow/Workflow.htm
    http://www.sapgenie.com/workflow/
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
    https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/WORKFLOW_tutorial.html
    Regarding Work Flow   
    work flow scenarios.
    1. applying for a leave.
    2. approval process.
    3. material creation process.
    4. mainly work flow is for notification purpose.
    chk this links
    http://help.sap.com/saphelp_erp2005/helpdata/en/fb/135962457311d189440000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
    Workflow
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    http://www.erpgenie.com/workflow/index.htm
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    http://www.insightcp.com/res_23.htm
    A good tutorial
    http://www.thespot4sap.com/articles/Invoice_Verification_Automation_Using_SAP_Workflow.asp
    http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
    /people/alan.rickayzen/blog
    /people/jocelyn.dart/blog/2006/06/19/why-use-abap-oo-with-workflow
    a good book
    http://www.sap-press.com/product.cfm?account=&product=H950
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.sap-press.com/downloads/h950_preview.pdf
    Check the following PDF
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    also seach the workflow forum: SAP Business Workflow
    Transactions
    AWUV Wizard for event creation Definition tools -> Event creation -> Set up with wizard
    MCA1 Workflow Information System Reporting -> Workflow Information System (WIS)
    OOAW Evaluation paths
    PFAC Maintain standard roles
    PFAC_CHG Change roles Definition tools -> Standard roles -> Change
    PFAC_DEL Delete roles Definition tools -> Standard roles -> Delete
    PFAC_DIS Display roles Definition tools -> Standard roles -> Display
    PFAC_INS Create roles Definition tools -> Standard roles -> Create
    PFOM Maintain assignment to SAP organizational objects Definition tools -> SAP org. objects -> Create assignments
    PFOS Display assignment to SAP organizational objects Definition tools -> SAP org. objects -> Display assignments
    PFSO Organizational environment of a user
    PFT Maintain customer task
    PFTC General task maintenance
    PFTC_CHG Change tasks Definition tools -> Task/Task groups -> Change
    PFTC_COP Copy tasks Definition tools -> Task/Task groups -> Copy
    PFTC_DEL Delete tasks Definition tools -> Task/Task groups -> Delete
    PFTC_DIS Display tasks Definition tools -> Task/Task groups -> Display
    PFTC_INS Create tasks Definition tools -> Task/Task groups -> Create
    PFTR Standard task for transaction
    PFTS Standard task
    PFWF Maintain workflow task (customer)
    PFWS Maintain workflow template
    PPOC Create organizational plan Definition tools -> Organizational plan -> Create
    PPOM Maintain organizational plan Definition tools -> Organizational plan -> Change
    PPOS Display organizational plan Definition tools -> Organizational plan -> Display
    SWDA Ongoing Settings Administration -> Settings
    SWDC Workflow editor administration data
    SWDM Business Workflow Explorer Definition tools -> Business Workflow Explorer
    SWE2 Display and maintain event type linkage Utilities -> Events -> Type linkages
    SWE3 Display instance linkages Utilities -> Events -> Instance linkages
    SWE4 Switch event log on/off Utilities -> Events -> Event/log -> On/Off
    SWEC Link change documents to events Definition tools -> Event creation -> Change documents -> Linkage
    SWED Assignment of change document objects to object types Definition tools -> Event creation -> Change documents -> Define workflow properties
    SWEL Display event log Utilities -> Events -> Event log -> Display
    SWF3 Workflow Wizard Explorer Definition tools -> Wizards -> Workflow Wizard Explorer
    SWF4 Workflow Wizard Repository Definition tools -> Wizards -> Workflow Wizard Repository
    SWI1 Selection report for workflows Utilities -> Work item selection
    SWI2 Work item analysis Reporting -> Work item analysis
    SWI3 Workflow outbox Runtime tools -> Workflow outbox
    SWI4 Task analysis Reporting -> Task analysis
    SWI5 Workload analysis Reporting -> Workload analysis
    SWI6 Object links Runtime tools -> Object links
    SWI7 Workflow resubmission folder From Integrated Inbox or Workflow Outbox
    SWI8 Error overview Part of administration of workflow runtime system (transaction SWUF)
    SWL1 Settings for dynamic columns Customizing, part of ongoing settings
    SWLC Check tasks for agents Utilities -> Consistency check -> Organizational assignment
    SWLD Workbench for Workflow 4.0
    SWLP Copy plan version
    SWLV Maintain work item views Customizing, part of ongoing settingS
    SWLW Workbench for Workflow 3.0
    SW01 Business Object Builder Definition tools -> Business Object Builder
    SW06 Customizing object types From Business Object Builder, choose Settings -> Delegate -> System-wide
    SWU0 Event simulation Utilities -> Events -> Simulate event
    SWU2 RFC monitor Utilities -> Workflow RFC monitor
    SWU3 Customizing consistency check Utilities -> Customizing
    SWU4 Consistency check for standard tasks Utilities -> Consistency check -> Task -> Standard task
    SWU5 Consistency check for customer tasks Utilities -> Consistency check -> Task -> Customer task
    SWU6 Consistency check for workflow tasks Utilities -> Consistency check -> Task -> Workflow task
    SWU7 Consistency check for workflow templates Utilities -> Consistency check -> Task -> Workflow template
    SWU8 Switch technical trace on/off Utilities -> Technical trace -> On/off
    SWU9 Display technical trace Utilities -> Technical trace -> Display
    SWUD Diagnostic tools Utilities -> Diagnosis
    SWUE Trigger event Utilities -> Events -> Generate event
    SWUF Runtime system administration Administration -> Runtime system
    SWUG Workflow start transactions Definition tools -> Workflow start transactions
    SWUI Start workflows From the R/3 initial screen, choose Office -> Start Workflow
    SWUS Start tasks Runtime tools -> Start workflow
    SWUY Wizard for message linkage to workflow Definition tools -> Wizards -> Create "Call workflow from message"
    SWX1 Create notification of absence
    SWX2 Change notification of absence
    SWX3 Display notification of absence
    SWX4 Approve notification of absence
    SWXF Form applications: Access point Environment -> Demo examples -> Fill out form
    Reports
    RSWWWIDE – Delete work items
    RHSOBJCH to fix PD Control Tables
    Tables
    SWW_OUTBOX - Lists Workflows in outbox together with status
    SWW_CONT - Container Contents for Work Item Data Container
    SWW_CONTOB- Container Cont. for Work Item Data Container (Only Objects)
    SWWLOGHIST- History of a work item
    SWWORGTASK- Assignment of WIs to Org.Units and Tasks
    SWWUSERWI - Current Work Items Assigned to a User
    SWWWIHEAD - Header Table for all Work Item Types
    Regards
    Anji

  • Starting workflow, when importing records

    Hello!
    Is it possible to start workflow, when records were imported with Import Manager and the import action was set as Update or Replace?
    Thanks,
    Vika

    Hi Viktoria,
    It is possible to trigger workflow whenever records are imported by setting the <b>Trigger action</b> while defining the workflow as "<b>Record Import</b>".
    Hope this answers your query,
    Regards,
    <b>Rashmi</b>

  • Stopping already started workflows

    Hi  All,
    I am facing the problem of workitems being flooded into the swi1(in waiting status) tcode because of a workflow being triggered. At present the workflow event linkage has been stopped.But the workitems of the previously started workflow (concerned with reminder mails)are getting populated which needs to be cleared.The reminder mails are continuously being sent ,as the loop of the workflow that has started is 100 times.
    Can anyone suggest,how to stop the already trigerred workflow as the number of workitems into swi1 tcode is huge!!
    standard task : TS92000016
    At presnt we are completing each and every workitem manually inorder to stop the reminder mails being trigerred!!
    Thanks in advance!
    Gowthami

    Hi,
    Just wirte a simple report to delete the workitems logically. Get the list of workitem form SWI1/SWA and pass it to your report.
    Sample code :
    Data : WI type SWW_WIID.
    select-OPTIONS : p for WI.
    Write : 'Following workitems are logically deleted'.
    loop at p.
    CALL FUNCTION 'SAP_WAPI_ADM_WORKFLOW_CANCEL'
      EXPORTING
        workitem_id          = p-low
    *   ACTUAL_AGENT         = SY-UNAME
       LANGUAGE             = SY-LANGU
       DO_COMMIT            = 'X'
    * IMPORTING
    *   RETURN_CODE          =
    *   NEW_STATUS           =
    * TABLES
    *   MESSAGE_LINES        =
    *   MESSAGE_STRUCT       =
    if sy-subrc is initial.
      write:/ p-low.
    endif.
    endloop.
    Thanks and regards,
    SNJY

  • Q: Start Workflow...

    Hi all,
    The "Start Workflow" task allows an alternate organisation to be
    specified using an expression, but when I do this, I cannot select the
    workflow to start - nothing will appear in the list.
    Is there a trick to making this work? Should the template name be
    part of the expression?
    I don't quite understand the functionality behind this option - the
    templates, versions and activation properties seem to be globally
    scoped, so that all organisations share the exact same template
    definitions. What is the intended purpose for specifying an alternate
    organisation?
    Any light shed on these issues would be greatly appreciated.
    Regards,
    Ben Hatton.

    Yes, I would imagine that the point of using an expression is that the
    selection organization would be determined according to some condition
    defined in the workflow which must be evaluated at run time.
    But specifying orgs does have some ramifications, limited as they may be.
    These are:
    1) controlling access to starting workflows manually via the Worklist. That
    is, if a template is associated with only a particular org, a user who is
    not a member of that org won't be able to start the workflow from the
    Worklist. For called workflows, this is irrelevant anyway, however.
    2) controlling which users or roles may be assigned tasks within the
    workflow. Again, if a user or role isn't defined for the org associated with
    the template, that user/role can't execute tasks in the Worklist. (But they
    probably can be through task reassignment. I haven't tested this to see what
    would actually happen.) This point does affect called workflows.
    On the other hand, the fact that you can use an expression to define the
    actual organization, rather than the condition to apply to a limited set of
    allowable choices (defined by the orgs associated with the template), seems
    to subvert the whole intention anyway, as you can really select any org you
    want.
    There will obviously have to be some redesign of the whole org-template
    thing in future releases.
    Kara
    While Templates can be associated to specific organisations by the
    designer, you can't have two orgs that use different definitions of
    the same template (name). If different orgs could have their own
    implementation of a named flow, like "approveOrder", then each
    organisation could have a different private process for that function
    (one uses manual task, another uses an automatic caluculation). As it
    is, there is no point in being able to specify a different org, 'cause
    you'll get the exact same template definition.
    Is the intention that you can test for the name of the organisation in
    the template definition and branch to different functionality?
    Probably not - if we have the ability to evaluate the right
    organisation when defining the "Start Workflow" task, then we would
    likely be able to use that same logic at the point that functionality
    splits in the subflow.
    Regards,
    Ben.
    On Wed, 3 Oct 2001 16:12:17 -0400, "Kara Moscoe" <[email protected]>
    wrote:
    I agree with you, and do not understand why the Studio does not provide a
    combo box for this functionality, in the same way triggered or timed
    start
    nodes do. And given that there is no workflow function to return an
    organization, I really don't understand what kind of expression couldeven
    be sensibly used here. The only thing I could imagine this being used foris
    a variable that has contained previously stored organization from an
    incoming XML message received by another node in the calling workflow,from
    some other workflow or other source. Tony, maybe you could shed somelight
    on this.
    On the other hand, you are incorrect when you say that all TDs are sharedby
    all organizations. At least, this is not the case at design time; orgs tobe
    associated with TDs are selected by the designer. So the intention hereis
    to be able to specify the org in which the subworkflow is operable, ifit's
    not the current one. What should happen is that here, as in triggered and
    timed start nodes, a list of orgs associated with the template shouldappear
    in the combo box.
    What actually happens is another matter, and there is a CR filed on thefact
    that the server does not actually control organizations in whichworkflows
    can be started, and you could theoretically specify anything you want,
    including a non-existing org. The template/organization paradigm is quite
    broken, and it appears that a proper solution to the problem won't happenin
    the Berlin time frame.
    Hope this helps,
    Kara
    "Benjamin Hatton" <[email protected]> wrote in message
    news:[email protected]...
    Hi Tony,
    Thanks for your help on this and the other queries I had.
    I am in the studio, adding a "Start Workflow" action to a task. If
    the subworkflow is in the current organisation, there is no issue. If
    it is another organisation, then it does not appear in the list of
    flows to start.
    Given that an expression evaluated at run-time can be used to
    determine the organisation, how can the studio resolve the
    organisation, and hence resolve the list of flows that can be called?
    Given that workflow templates and activation properties are shared
    across organisations, what is the point of have a dynamically
    evaluated expression to choose the organisation?
    Best regards,
    Ben.
    On Tue, 2 Oct 2001 22:17:38 -0300, "tony lodge" <[email protected]>
    wrote:
    Ben can you be more specific. Are you saying that when you use the
    worklist
    client you can not see the template to start. If this is the case youhave
    to ensure that the start node in the workflow has a start note that is
    triggered manually. This is done by a choice section on the start node
    (timed,manual,event,called)
    Tony
    "Benjamin Hatton" <[email protected]> wrote in message
    news:[email protected]...
    Hi all,
    The "Start Workflow" task allows an alternate organisation to be
    specified using an expression, but when I do this, I cannot select
    the
    workflow to start - nothing will appear in the list.
    Is there a trick to making this work? Should the template name be
    part of the expression?
    I don't quite understand the functionality behind this option - the
    templates, versions and activation properties seem to be globally
    scoped, so that all organisations share the exact same template
    definitions. What is the intended purpose for specifying analternate
    organisation?
    Any light shed on these issues would be greatly appreciated.
    Regards,
    Ben Hatton.

  • By publishing this workflow, conditions and actions inside Impersonation steps will run using your credentials

    In a SharePoint 2010 workflow that accesses a custom list, I am getting the following warning message before I publish the workflow to the SharePoint test server:
    "By publishing this workflow, conditions, and actions inside impersonation steps will run with your credentials".
    The only step in this SharePoint 2010 workflow is the impersonate step.
    Thus would you tell me what I can do to have the workflow run under different credentials?

    Hi,
    As the warning says, any actions within Impersonation step would be carried out under your credentials if you published the workflow. If you intended to just add a Step in the workflow, then use different icon that says Step (with down arrow). Impersonation
    step is used to modify the permissions on the item.
    Once you have this, the workflow will be executing under the credentials of whoever starts it. Hope it helps.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • Error in starting workflow queue listener

    I have registered jobs with OEM using Warehouse builder workflow deployment
    wizard. Following jobs has been registerd with OEM :
    1) ACRM_IWF_ACRM_PWF
    2)ACRM_IWF_OWB_STD_BEGIN
    3) ACRM_IWF_OWB_STD_END
    4) ACRM_IWF_OWB_STD_ERROR
    Now i submit "ACRM_IWF_ACRM_PWF" from the OEM . I shows me status of the JOB as
    "Failed" and gives the following error message:
    Error in starting workflow listener: ** Initializing queue listener
    ** Initialized queue listener
    ** Recovering item type ACRM_IWF
    ** In recovery mode
    ** Recovery complete
    ** Processing all item types
    ** Waiting to dequeue message in listener
    ** Processing job 0x4143524D5F4957465F4F57425F5354445F424547494E
    Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String
    index out of range: -1
    at java.lang.String.substring(String.java:1085)
    at
    oracle.wh.runtime.workflowrt.QueueListener.parseParameters(QueueListener.java:10
    03)
    at oracle.wh.runtime.workflowrt.QueueListener.startJob(QueueListener.java:798)
    at
    oracle.wh.runtime.workflowrt.QueueListener.processJobs(QueueListener.java:746)
    at
    oracle.wh.runtime.workflowrt.QueueListener.initAndRun(QueueListener.java:299)
    at oracle.wh.runtime.workflowrt.QueueListener.main(QueueListener.java:197)
    1

    This is not actually a Workflow component, this is part of the Oracle Warehouse Builder product, although the name is similar to the Workflow Agent Listener in v2.6.
    I have registered jobs with OEM using Warehouse builder workflow deployment
    wizard. Following jobs has been registerd with OEM :
    1) ACRM_IWF_ACRM_PWF
    2)ACRM_IWF_OWB_STD_BEGIN
    3) ACRM_IWF_OWB_STD_END
    4) ACRM_IWF_OWB_STD_ERROR
    Now i submit "ACRM_IWF_ACRM_PWF" from the OEM . I shows me status of the JOB as
    "Failed" and gives the following error message:
    Error in starting workflow listener: ** Initializing queue listener
    ** Initialized queue listener
    ** Recovering item type ACRM_IWF
    ** In recovery mode
    ** Recovery complete
    ** Processing all item types
    ** Waiting to dequeue message in listener
    ** Processing job 0x4143524D5F4957465F4F57425F5354445F424547494E
    Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String
    index out of range: -1
    at java.lang.String.substring(String.java:1085)
    at
    oracle.wh.runtime.workflowrt.QueueListener.parseParameters(QueueListener.java:10
    03)
    at oracle.wh.runtime.workflowrt.QueueListener.startJob(QueueListener.java:798)
    at
    oracle.wh.runtime.workflowrt.QueueListener.processJobs(QueueListener.java:746)
    at
    oracle.wh.runtime.workflowrt.QueueListener.initAndRun(QueueListener.java:299)
    at oracle.wh.runtime.workflowrt.QueueListener.main(QueueListener.java:197)
    1

  • Using a link to trigger a delete action on form page?

    Hello,
    I have been unable to find an explanation about how to do this in the documentation, these forums or the old interakt forums.
    Is it possible to use a link to trigger the delete action on a form page?
    If so how is it done?
    Thanks in advance!

    Sorry Purple.. I know that there is a delete link that triggers the delete transaction on the form page..
    The question was if anybody knew if I am able to use a link to trigger that delete transaction (on the form page), much like a dynamic list has a link that will trigger the delete transaction on the form page.
    I don't want to use a dynamic list in this case though. :)
    Thanks anyways,
    Drew

  • ITunes Match has stopped uploading - every file errors and says waiting - I have tried to delete the files and use other formats etc.  I have had the service since Day 1 and NEVER had an issue.  It didn't start until the Delete from Cloud switch to Hide

    iTunes Match has stopped uploading - every file errors and says waiting - I have tried to delete the files and use other formats etc.  I have had the service since Day 1 and NEVER had an issue.  It didn't start until the Delete from Cloud switch to Hide from cloud - the files that do not upload show grayed out on my other devices.

    Have you confirmed that you successfull purged iTunes Match by also looking on an iOS device?  If so, keep in mind that Apple's servers may be experiencing a heavy load right now.  They just added about 19 countries to the service and I've read a few accounts this morning that suggests all's not running perfectly right now.

  • Generic object services (GOS) - Start workflow box is allways empty

    Dear colleagues,
    i have installed a brand new IDES ERP 6.0 successfully but when entering a number of standard transactions like mm02, va03, fb03 etc and trying to execute the GOS toolbox, I can never start any workflow. I click on the 'start workflow' button of the GOS-toolboy but the selection box is allways empty. Did I miss anything? Since there are so many BOR objects that apply to the objects of the standard transactions, there should be at least something to start. For example BOR BUS1001 (material master): When in MM02, why does the GOS-toolbox for workflows not show the related workflows that use BUS1001?
    Thank you very much for your answers
    Best regards
    Daniel

    Udo,
    You should start a new discussion - you'll get more responses.
    Anyhoo, to make a workflow appear in the GOS 'start workflow' list, just follow these simple rules:
    - confirm which BOR object is involved in your transaction (eg BUS1001006 for MM03)
    - make sure that the BOR object is a mandatory input of your workflow
    - make sure that there are no other mandatory inputs
    - make sure that the workflow (WS*) is set to 'General Task' (nb this is client dependent)
    Once all these things are done, refresh the buffer (SWU_OBUF) and it should work.
    cheers
    Paul

Maybe you are looking for

  • Parked Vendor Invoices (MIR7) stored in which tables ?

    Dear All, I need to write a report to show all park documents. I know that this table store park document header. vbkpf      - Store All Park Documents Header (Include Vendor Invoice (MIR7)) However, I have checked some tables in the following and do

  • Change font in e-mail body

    Hi All, I need to know whether it is possible to use multiple font styles in the body of an e-mail sent through a report program. I am using the FM 'SO_DOCUMENT_REPOSITORY_MANAGER' as I want to send a document from the desktop as an e-mail attachment

  • Parent.frame.location problem in firefox

    Hello! I'm making a JSP page which opens a new page with 2 frames. The left frame has links which changes the location of the right frame. The right frame either displays an oracle report or another JSP that displays a PDF file. The thing is, I use p

  • HT203421 unfinished osx mountain lion download cannot be located on my mac

    Started downloading osx mountain lion from appstore and got to 4.1G of 4.4G before interruption. No icon found when accessing app store's interrupted purchases and no evidence of the downloaded portion on my Macbook pro. New download started when I r

  • Stroke scales when targeting a specific fill with "~" key in CC (17.1)

    I often transform a specific fill within an object appearance by holding "~" while scaling, rotating, etc. I find, in CC the object stroke is scaled even though it is not targeted in the Appearance panel. This is now how CS5 works. If the stroke is n