Manually Start Workflows - Permissions

I am seeing an issue where users cannot select the 'Workflow' button on an item because they do not have permission to manually start the workflow - they receive the 'This site has not been shared with you', Although they do have permission to run the workflow
automatically.  I believe this is related to the workflow.aspx page.  If the user does not have permission to contribute to the site, they cannot manually execute a workflow on a list they have explicit contribute rights to.  Is there any farm
wide fix for this?  I found this article:http://sharepoint.stackexchange.com/questions/115311/manually-start-sharepoint-2010-workflow-in-sharepoint-2013-farm
But this would be a nightmare to maintain for each site.  Are there any other workarounds available?  Has there been a CU released to fix this?
Thanks,
Jesse
Jesse A. Brandenburg

Hi Jesse,
By default, you must have the Edit Items permission to start a workflow. I understand you would like users with contribution permission be able to manually start a workflow.
As workaround, we can use another ribbon or field to replace the OOTB button to manually start workflow. For example, you could create a checkbox (Yes/No) field in the list, and set it to be No as default. In the workflow, make it to automatically start
when this checkbox value is Yes. Then users can manually start workflow via manually change this field's value.
Regards,
Rebecca Tu
TechNet Community Support

Similar Messages

  • How do I manually start a workflow to...

    I have a list with 2000+ items in it. I create a 2013 workflow in SPD that will look at an item and if it date is less than 1/1/2013 it will create a copy of the item on a list used for archiving, then delete the existing list item. 
    My question is how do i manually start this workflow on the entire list (instead of selecting 1 item at a time)?
    Thanks
    James T.F

    @Romeo
    I've found to potential PowerShell scripts that could launch a list workflow from powershell, but they both throw errors for me. 
    # URL of the Site
    $web = Get-SPWeb -Identity "https://sharepointsrv/site1"
    $manager = $web.Site.WorkFlowManager
    # Name of the list
    $list = $web.Lists["Shared Documents"]
    # Name of the Workflow
    $assoc = $list.WorkflowAssociations.GetAssociationByName("On Item Created","en-US")
    $data = $assoc.AssociationData
    $items = $list.Items
    foreach($item in $items)
    $wf = $manager.StartWorkFlow($item,$assoc,$data,$true)
    $manager.Dispose()
    $web.Dispose()
    this gives me the following error
    Exception calling "StartWorkflow" with "4" argument(s): "Value cannot be null."
    At line:15 char:28
    + foreach($item in $items) { $workflow = $workFlowManager.StartWorkFlow($item,$wor ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ArgumentNullException
    The other PS Script
    $sourceWebURL = '<URL>'
    $sourceListName = '<List Name>'
    $TargetWorkflow = '<Workflow Name>'
    $spSourceWeb = Get-SPWeb $sourceWebURL
    $spSourceList = $spSourceWeb.Lists[$sourceListName]
    #Getting a Workflow manager object to work with.
    $wfm = New-object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager($spSourceweb)
    #Getting the subscriptions
    $sub = $wfm.GetWorkflowSubscriptionService()
    #Getting the specific workflow within the list of subscriptions on the specific list. (SP2010 associated workflows basically)
    $WF = $sub.EnumerateSubscriptionsByList($spSourcelist.ID) | Where-Object {$_.Name -eq "$TargetWorkflow"}
    #Getting a Workflow instance in order to perform my commands.
    $wfis=$wfm.GetWorkflowInstanceService()
    Foreach($item in $spSourceList){
    #Creating the dictonary object I need to parse into StartWorkflow. This could be most other workflow commands.
    $object = New-Object 'system.collections.generic.dictionary[string,object]'
    $object.Add("WorkflowStart", "StartWorkflow");
    $wfis.StartWorkflowOnListItem($WF, $item.ID, $object)}
    Which then gives me this error.
    Cannot convert argument "itemId", with value: "GUID", for "StartWorkflowOnListItem" to type "System.Int32": "Cannot convert the "GUID" value of type "System.Guid" to type
    "System.Int32"."
    At line:23 char:5
    + $wfis.StartWorkflowOnListItem($WF, $item.ID, $object)
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument

  • Workflow will not manually start - getting Server Error in '/' Application - Runtime Error

    I've tested so far in three site collections and I am not able to manually start a workflow. I am getting the below error
    Runtime Error
    Description: An application error occurred on the server. The current custom error
    settings for this application prevent the details of the application error from
    being viewed remotely (for security reasons). It could, however, be viewed by
    browsers running on the local server machine.
    Details: To enable
    the details of this specific error message to be viewable on remote machines,
    please create a <customErrors> tag within a "web.config" configuration
    file located in the root directory of the current web application. This
    <customErrors> tag should then have its "mode" attribute set to "Off".
    So, I jumped on the server and checked the logs and this is what I am getting below:
    Application error when access /_layouts/15/Workflow.aspx, Error=Method 'StartWorkflowOnListItem' in type 'Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider' from assembly 'Microsoft.SharePoint.WorkflowServices, Version=15.0.0.0, Culture=neutral,
    PublicKeyToken=71e9bce111e9429c' does not have an implementation.   at Microsoft.SharePoint.WorkflowServices.FabricSolutionProviderFactory.<.cctor>b__3(WorkflowServicesContext context)     at Microsoft.SharePoint.WorkflowServices.FabricSolutionProviderFactory.GetProvider[T](WorkflowServicesContext
    context)     at Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager.GetProvider[T]()     at Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager.GetWorkflowInstanceService()    
    at Microsoft.SharePoint.WorkflowService... 
    I would love some help if anybody has any suggestions.

    Hi,
    THis is a upgrade issue. Please check below
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/b189e4b8-bb9e-4ade-a3d5-cd2e0f90e93f/workflow-not-working-after-installing-service-pack-1-and-patches?forum=sharepointadmin
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Starting workflow from messages

    Hi,
    I am trying out the possibility of starting workflows when a message is raised (Error/Warning). Once i create the message to workflow linkage i am able to start the workflow from the message long text.
    In this scenario is there a way to start the workflow automatically whenever that particular error message occurs?
    For example consider transaction PA30. Now if i try to enter a character value in place of personnel number i get an error message "Enter a Numeric Value". Now once i link the workflow to the message i am able to start the workflow manually. But can this be done automatically on the occurence of this message?
    Thanks,
    Prasath N

    Hi Karun,
    Thanks for your response. I have done this already and it is workfing fine when i start the workflow manually. I would like to know if there is an option to start the workflow <b>automatically (without pressing the workflow button)</b> when the message is raised.
    Thanks,
    Prasath N

  • Starting Workflow from VA02/03 Problem

    Hi,
    I have a problem, I want to start the workflow in VA03 Transaction, from menu "Service Object"==>" Workflow"==>"Start Workflow", but I can't see the workflow I want to start, the window is empty, this does not happen in our Quality an Production System, I can see it there in VA03 and in SWUI transaction, but in our Development System is not possible to see it, is there any configuration missing or some tasks thet need to be performed to see the workflow to start it manually from VA02 & VA03 Transactions??.
    Best Regards,
    Moisés.

    Hi Moisés,
    If you want a workflow to be triggered via GOS then it must be in the Start Workflow list in transaction SWUI and in order for it to be in the list it must not have an mandatory import elements and you must also be a possible agent (Set the agent assignment of the workflow template to General). Can you make sure the above 2 conditions are met and then test.
    Regards,
    Eddie

  • Start Workflow from transaction

    Hi ,
    Please let me know, where can i subscribe my custom workflow to trigger the workflow if we want to start the workflow manually from transaction FV60.
    Thanks in advance
    Sarath

    Hi
    I am not very much sure about how the txn FV60 look and feel would be , but the solution to your answer is already in your post, Assuming that there would not be any kind of button on the application tool bar of the standard txn FV60, you might have customized it, in sucha  way that you could include the button START WORKFLOW on application tool bar.
       As per your requirement you want to initiate the workflow only in case when the end user clicks on the START WORKFLOW button, In that case I think by using the Module pool programming you can actually resolve the requirement. By just simply validating the SY-UCOMM , if the fcode is equal to the FCODE of START WORKFLOW button, then by using either SAP_WAPI_CREATE_EVENT or SAP_WAPI_START_WORKFLOW. You can start manually.
    Instead of implementing some Badi's or User Exits..
    Regards
    Pavan

  • 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 without a Task ID

    Hi All,
    Is there a way to start a workflow without having a Task ID? Is there an alternate way? Is there a BAPI/FM or an SAP Transaction to accomplish this?
    Any help will be greatly appreciated.

    Hi developer,
    I am not sure whether I have understood your requirement, but if your workflow is event driven, that is has a Start Event, then you can trigger/start the workflow by manually triggering the event by calling the function module SWE_EVENT_CREATE.
    You can also start workflows from transaction SWUI,
    Regards,
    Aditya

  • Failed to start workflow. The workflow cannot access the item that it has been applied to.

    I have a quick question for you and it would be great if you can answer me on this.
    I'm working through SharePoint Workflow issue (developed using Nintex) that started recently where people are getting workflow error and I don't see issues if I submit it myself. Current error. - "Failed to start workflow. The workflow cannot access
    the item that it has been applied to."
    I haven't made any major changes to Workflow except for changing email notification content and publishing it. My question is, do I need to publish the rest of the workflows too that are associated to the list after I publish changes of one workflow? Looks
    like users have required permissions to submit the form. Please let me know how to get rid of this error.
    smith

    Hi Smithspd,
    According to your description, my understanding is that your users got a workflow error, and the workflow is created by Nintex.
    For SharePoint Designer workflow, once we do any change in a workflow, we need to re-publish the workflow.
    For your issue, I suggest you re-publish the workflow, compare the result.
    In addition, as your workflow is created by Nintex and this forum is for SharePoint Designer, I suggest you ask Nintex support or forum for better help.  Thanks for your understanding.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Starting workflow with HTTP-Post

    Hello,
    like I wrote in Starting workflow with HTTP-Post I have a problem with starting a workflow with a http-post:
    I have an installation of SAP ERP 2005 SR2 IDES on Win2003 SR2 SP2 and want to start a simple workflow with an external application. Therefor I created an elementary test-workflow and set the general task flag so everybody is allowed to start it. So far everything work fine as I start it manually.
    Now I want to start the workflow by an external application over a HTTP-Post as described in
    http://help.sap.com/saphelp_47x200/helpdata/EN/54/de9e3887d6174fe10000009b38f842/content.htm
    I configured the webserver (Customizing Web-Server) as follows:
    Service: WebFlow (Intranet)
    Address: http://192.168.0.216:8000/
    Path: SAP/BC/WORKFLOW_XML/?
    and sent a post via perl to http://192.168.0.216:8000/SAP/BC/WORKFLOW_XML/?protocol=01&localkey=WS99900004
    <?xml version="1.0" ?>
    <WfMessage Version="1.0" xmlns="http://www.wfmc.org/standards/doc/WF-XML">
    <WfMessageHeader>
    <Request ResponseRequired="No">
    <Key>http://192.168.0.216:8000/SAP/BC/WORKFLOW_XML/?protocol=01&localkey=WS99900004</Key>
    </WfMessageHeader>
    <WfMessageBody>
    <CreateProcessInstance.Request StartImmediately="true">
    <ObserverKey>http://192.168.0.224</ObserverKey>
    </CreateProcessInstance.Request>
    </WfMessageBody>
    </WfMessage>
    The Web-Server returns
    C:\FH\SAP\perl-scripte>perl http-post.pl
    HTTP/1.1 200 OK
    Server: SAP Web Application Server (1.0;700)
    Content-Length: 0
    Content-Type: text/plain
    Client-Date: Sun, 01 Jun 2008 11:00:24 GMT
    Client-Peer: 192.168.0.216:8000
    Client-Response-Num: 1
    but it seems that nothing happens.
    I also tried to post the XML via html-form-field with the same result.
    Did I forgot something essential?

    Hello Daniel
    It's 6 years after you posted your question, but I found your post very useful and thought it would be worth updating for future reference.
    I've just managed to trigger a workflow via http.
    URL :
    http://server.domain:8000/sap/bc/workflow_xml?sap-client=110
    Java :
    URL obj = new URL(url);
    URLConnection con = (URLConnection) obj.openConnection();
    String userpass = "username:password";
    String basicAuth = "Basic " + javax.xml.bind.DatatypeConverter.printBase64Binary(userpass.getBytes());
    con.setRequestProperty ("Authorization", basicAuth);
    con.setRequestProperty("Content-type", "text/xml");
    con.setDoOutput(true);
    DataOutputStream wr = new DataOutputStream(con.getOutputStream());
    wr.write( xml.getBytes("UTF-8") );
    wr.flush();
    wr.close();
    You can then read the response.
    I found that until I added the sap_client parameter I couldn't debug in CL_HTTP_WORKFLOW_XML->IF_HTTP_EXTENSION~HANDLE_REQUEST. Then I found that the content type has to be "text/xml".
    I set the xml variable (the data sent to ECC) to :
    <?xml version="1.0" ?>
    <WfMessage Version="SAP.1.0" xmlns="http://www.wfmc.org/standards/doc/WF-XML">
    <WfMessageHeader>
    <Request>
    <ResponseRequired>Yes</ResponseRequired>
    </Request>
    <Key>HTTP://server.domain:8000/SAP/BC/WORKFLOW_XML/?~localkey=WS90000074</Key>
    <Operation>CreateProcessInstance</Operation>
    </WfMessageHeader>
    <WfMessageBody>
    <CreateProcessInstance>
    <Key>HTTP://server.domain:8000/SAP/BC/WORKFLOW_XML/?~localkey=WS90000074</Key>
    <ContextData>
    <YOUR_CONTEXT_VARIABLE>x</YOUR_CONTEXT_VARIABLE>
    </ContextData>
    <StartImmediately>Yes</StartImmediately>
    </CreateProcessInstance>
    </WfMessageBody>
    </WfMessage>
    regards
    Steve

  • Can not start workflow from Servr OM code

    Hello all ,
    i want to start sharepoint 2013 workflow when a list item is updated based on some condition.
    i have writen bellow code
    var workflowServiceManager = new WorkflowServicesManager(web);
                    var workflowSubscriptionService = workflowServiceManager.GetWorkflowSubscriptionService();
                    //get all workflows associated with the list
                    //get lsit
                    SPList list = web.Lists["Leave"];
                    if (list != null)
                        var subscriptions = workflowSubscriptionService.EnumerateSubscriptionsByList(list.ID);
                        //run all workflows associated with the list
                        SPListItem item = list.GetItemById(Convert.ToInt32(drpRequest.SelectedValue));
                        foreach (var workflowSubscription in subscriptions)
                            //initiation parameters 
                            var inputParameters = new Dictionary<string, object>();
                            //inputParameters.Add("List", leaveList.ID);
                            workflowServiceManager.GetWorkflowInstanceService().StartWorkflowOnListItem(workflowSubscription, item.ID, inputParameters);
    on the last line it throws unauthorised access exception .
    while current user have owner permissions.
    here is error .
    i have run full profile sync and user is availiable in UPS.
    Please Help
    Mukesh

    Hello  all,
    After running full profile sync i am able to deploy workflow.
    it is running
    but how can i elevate privilege to start workflow.
    from code
    Mukesh

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

  • User start workflow 2013

    Is there a way to have the user manually start a workflow in SharePoint 2013? Could this happen when an item is changed or an item is created in a custom list using InfoPath 2013? Could the user click on a custom button, option buttons, etc?
    If so, can you tell me how to setup this option?

    Hi Jazz,
    Firstly, please make sure that Initiate a workflow is selected when creating the custom action.
    Secondly, the issue may be due to the workflow itself.
    I recommend to start the workflow automatically by clicking the Workflows button in the ribbon under Item tab to see if the workflow can work.
    You can also provide a screenshot of the workflow here and we can help to check the steps.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • 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

Maybe you are looking for