Starting Workflow

Hi,
How can I find out if the workflow is running or not ? How to debug this.
If not then how to start it.
thanks
Rahul

Hi,
Which workflow is it? Is it bespoke or custom? What version of Workflow are you using?
Matt
HTH,
Matt
Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
http://www.workflowfaq.com
http://forum.workflowfaq.com

Similar Messages

  • 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

  • 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

  • How to create business operation for starting workflows

    How to create business operation for starting workflows from worklist?
    When I call methods that implements business operation from java class everything
    works fine(wlpi-ejb.jar is required), but when I call business operation from
    Studio I can't use classes from wlpi-ejb.jar.

    Business operation is called by WLIS. So, I include wlpi-ejb.jar into WLIS classpath.
    Studio uses deployed EJB from wlpi-*.jar, I don't know why Studio doesn't see
    methods from deployed EJBs when WLIS classpath contains wlpi-ejb.jar.
    "Andrew Pitonyak" <[email protected]> wrote:
    >
    When studio starts, what is your classpath? If you use the included batch
    file to start it, then your class path may not include this :-)
    Andrew
    "Raul" <[email protected]> wrote in message
    news:[email protected]..
    How to create business operation for starting workflows from worklist?
    When I call methods that implements business operation from java classeverything
    works fine(wlpi-ejb.jar is required), but when I call business operationfrom
    Studio I can't use classes from wlpi-ejb.jar.

  • Starting Workflow from Generic Object Services

    Hi All.
    We are on ECC6. In transaction MM02 when I excute 'Start Workflow' from Generic Object Services, no workflows are found. Can anyone help me with the following issues;
    1. What is the underlying object in transaction MM02 (I believe it is BUS1001006)
    2. How can i ensure that the proper workflows in this transcation are started through some  
        customisation, enhencement or user-exit.
    Regards.

    I think you have to maintain the Workflow Template as General Task and then only it will appear in the GOS.
    Thanks
    Arghadip

  • Error while starting workflow from warning msg or error msg?

    Hello experts,
    I m tryin to start and workflow from error msg of ME21...whn we juss click enter without entering any value, it gives error as -" enter Purch org  ". whose msg class - ME and msg num - 083.
    thn from t-code SWUY,i creating and linked workflow for the msg.
    Now while testing,when m goin to t-code ME21, and goin to the long text of tht error msg.....the button to start workflow is not getttin enabled. tht is still disable.
    PLease tell r thr any other back ground settings to be done for this.
    Regards
    Nitin

    Hi,
    Your workflow landed up in Error and you want to Restart it right.
    Go to SWPR and check that workflow is there.
    If found, select it and Restart it.
    Regards,
    Surjith

  • Start workflow with f. module to trigger event and how to pass data to BOR?

    Hi,
    I have a custom BOR object, with Event "Created". I have also an attribute in this BOR, just simple field Plant.
    I have prepared a custom Workflow which is triggered when event Created of that custom BOR business object is raised.
    To raise an event and to start a workflow I run f. module SAP_WAPI_CREATE_EVENT.
    I have a problem to pass a Plant value to the Workflow container. In the PFTC_CHG for my Workflow I made the container
    of BOR object, and the data binding &_EVT_OBJECT& => &MATREQ&  (symbol of my BOR).
    Below both of EVTOBJECT and MATREQ I can see my field Plant.
    Then I run f. module SAP_WAPI_CREATE_EVENT with tables parameter input_container.
    I try to fill the data in many ways, but the started workflow does not have Plant filled.
    I try to use '_EVT_OBJECT.WERKS' in field name for input_container parameters.
    Business Object is passed to the Workflow container, but I do not get the fields
    as attributes. Do I have to use the parameters for the event Created ?
    Thank you in advance
    Wojtek

    Hello,
    I've never used GUID as a key but I suppose the principles are the same - the object instance is equivalent to "something", say a widget.
    This widget has attributes, e.g. the factory where it was created, the day it was created, its weight etc.
    If you make a widget BOR object and you specify attributes then you're telling SAP how, given the key, it can deduce the value of the attributes. Widget 1234's weight can be looked up in table XXX by doing this select.
    If you pass an object instance to a workflow then all you need to pass is the type of object and the key, the rest can be done by the workflow (or any other program). It can instantiate the object, and the attribute values are immediately available.
    If you can instantiate the object in SWO1 and the attributes get values, then it should work in the workflow as well.
    If not, please provide the code of the attribute or describe how it finds the attribute value.
    regards
    Rick Bakker
    hanabi technology

  • 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 from particular Step and assign to particular group of members

    Hi
    We are working on workflow using CQ 5.5.
    Is it possible start workflow from particular Step and assign this workflow to particular group of members dynamically(Using Process Step).
    Workflow Name : Single Page Workflow
                        Start
                            |
                        Step 1
                            |
                        Step 2
                            |
                        Step 3
                            |
                        Step 4
                            |
                        Step 5
                            |
                        Step 6 (Process Step)
                            |
                         End
    In Step 6 , we will start workflow for list pages dynamically , for that we written code as
    public class PublishTranslation implements WorkflowProcess{
        public void execute(WorkItem item, WorkflowSession wfsession, MetaDataMap metadata)
                throws WorkflowException {
               WorkflowModel  model = wfsession.getModel(item.getWorkflow().getWorkflowModel().getId());
               WorkflowData wfdata= wfsession.newWorkflowData("JCR_PATH",pagePath[i]);
               wfsession.startWorkflow(model, wfdata);
    This code starting workflow from step 1.
    I need help on
    1. How can i start workflow from step 2 or 3 ?
    2. How can i assign this workflow to group members ?
    Thanks & Regards

    Hello Ravindra,
    Logically it shouldn't allow you to do that and same happening because start workflow call on model will always trigger the workflow from starting point (means the very first step after start component in workflow design)
    To achieve this you have other ways, i would suggest to try below if it works for you.
    1. Instead of creating a new workflow just branch it programmaticaly and route back to previous step
          List<Route> routes=wfsession.getBackRoutes(item);
                     Route route=routes.get(WHAT_EVER_STEP);
                     wfsession.complete(item, route);
    2. Create a new workflow model which starts from second step and using code get access of that workflow
         wfsession.getAllWorkflows();
    for delegation as mentioned by Yogesh, you can try wfsession.delegateWorkItem(WorkItem item, Authorizable participant)
    Thanks,
    Pawan

  • Start Workflow AFTER File Is Uploaded

    I want workflow to start AFTER i copy file through webdav (drag n drop).
    Now it starts workflow BEFORE file is uploaded.
    Workflow uses data from the file so the order is crucial.
    Is it possible?

    System.Threading.Thread.Sleep(3000);
    before everything saves the day.
    Works with workflows and event handlers (ItemAdded).

  • Start workflow in code - access denied

    Im trying to start list workflow (sp 2013)  from MVC app.
    the mvc app (win auth enabled) is running by a user that is site owner.
    i always get ASP.NET access denied
    var workflowServiceManager = new WorkflowServicesManager(web);
    var workflowSubscriptionService = workflowServiceManager.GetWorkflowSubscriptionService();
    SPList oList = web.Lists["Employee"];
    SPListItem item = oList.GetItemById(557);
    //access denied on this line
     var subscriptions = workflowSubscriptionService.EnumerateSubscriptionsByList(oList.ID);
    thanks

    Hi
    Earlier I was putting the button (link) in the wrong place now that its in the dataform webpart @ID works !
    This link now will jump to the workflows page, the problem is that I have two workflows so the user may start the wrong workflow. Then I tried to link to the initiation page instead but this is where the error occurs.
    This is the workflow page link (Copied from browser url)
    http://sp20104/HitsMissesApp/_layouts/Workflow.aspx?ID={@ID}&List=deff1c34-4aec-43ad-b1e8-00444d3ab674&Source=http%3A%2F%2Fsp20104%2FHitsMissesApp%2FLists%2FHitsandMisses%2FAllItems%2Easpx
    This is the initiation page link, has a few more parameters. (Copied from browser url and used static ID for test)
    http://sp20104/HitsMissesApp/_layouts/IniWrkflIP.aspx?List={deff1c34-4aec-43ad-b1e8-00444d3ab674}&ID=6&TemplateID={8f72c2a0-7ec7-44ac-9bb7-c0a527a6b91a}&Source=http%3A%2F%2Fsp20104%2FHitsMissesApp%2FLists%2FHitsandMisses%2FAllItems%2Easpx
    When I enter the intitation link in SPD, SPD error with 'Error HRESULT E_FAIL has been returned from a call to a COM component.' and then crashes.
    So I can only link to the workflows page not the inititaion page. Perhaps the IniWrkflIP.aspx can only be called from a select page or something?
    Code for insering asp link:
    <asp:LinkButton runat="server" id="LinkButton1" PostBackUrl="http://sp20104/HitsMissesApp/_layouts/Workflow.aspx?ID={@ID}&amp;List=deff1c34-4aec-43ad-b1e8-00444d3ab674&amp;Source=http%3A%2F%2Fsp20104%2FHitsMissesApp%2FLists%2FHitsandMisses%2FAllItems%2Easpx">Start Workflow Feedback</asp:LinkButton>
    Alternatively, the button/link could simply start the workflow as I dont require the initiation page. Dont know if this is any easier though.
    Any assistance welcome on this .
    Thanks

  • Workflow not showing in started workflows

    Hi all,
    I developed one workflow by using the user developed  business object.
    I am triggering this workflow from abap program by using the function module 'SAP_WAPI_CREATE_EVENT'.
    Workflow is getting triggered from every id as i checked it by SWEL.
    If i execute the program from my id it getting triggered and showing in outbox as started workflows, if i did it from other id
    it is not coming in his outbox of started workflows.
    I checked the authorisation roles and profiles of both ids , they are same.
    what might be the problem, can anbody help?

    Hi swami,
    the code i am using is
              CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
                EXPORTING
                  object_type             = 'ZTRNAPR'
                  object_key              =  object_key
                  event                   = 'CREATED'
                  commit_work             = 'X'
                EVENT_LANGUAGE          = SY-LANGU
                LANGUAGE                = SY-LANGU
                USER                    = SY-UNAME
                IFS_XML_CONTAINER       =
              IMPORTING
                return_code             = return_code
                 event_id                = event_id
               TABLES
                 input_container         =  input_container[]
                 message_lines           = message_lines[]
                 message_struct          = message_struct[]
    The return code i am getting is 0.

  • Automatic start workflow for ALL records

    Hi Experts,
    Does anyone know a way to start workflow automatically for ALL records without human interference?
    I want to start workflows every day. For instance to recalculate, re-validate, re-assign or syndicate ALL records of a table.
    Kind regards,
    Job Jansen

    Hello Job Jansen
    I suppose recalculate and validate all recodrs once a day don't make sense when that records is the same
    and records wasn't changing
    However, you can use Autolaunch = Threshold with Max Time = 24 hour(for example)
    workflow will fire when Max Time say greater then time last launched job.
    And few another ways:
    1) you can use task sheduler for launch import manager and turn autolaunch workflow when it do import
    2) turn automatic import process(MDIS) once a day and use workflow for add records
    3) developed Java application which used MDM JAVA API for start workflow
    Regards
    Kanstantsin

  • Start workflow with BAPI / RFC

    HI!
    I want to start a workflow in Business workflow by RFC. Are there any BAPI for this that i can use. ?

    Hey Dominik,
    Use following FM to start Workflow
      <b>SPH_SWW_WI_START_SIMPLE - RFC
      SWW_WI_START_SIMPLE - Normal FM</b>
    You can pass data by using parameter WI_CONTAINER in TABLES tab.
    Reward points if the answer is helpful.
    Thankx,
    Mukul

Maybe you are looking for

  • The display becomes blocky, and can no longer be read

    Websites develop distortion in both text and pictures, thought it is more noticeable in text. Horizontal lines shift from left to right a pixel or two, sometimes more when it's really bad. i've seen some shift entire letters. this makes it very diffi

  • Adobe photoshop elements 13 Watch folder is not working

        I am getting a "Watch Folder Service" warning box. "Please start the Adobe's Active File monitor service from Service manager (Control Panel -> Adminstration Tools -> Service)" Looks like the "Adobe Active file Monitor V13" is missing.     I need

  • When I plug my iPod in, iTunes tells me it has not started??? help

    I'm trying to sync music but an iTunes message pops up indicating that my iPod has not started.

  • End tag error in Office 2010 professional plus

    I have my research paper got corrupted some how. When I try to open it, I get the following error: "The name in the end tag of the element must match the element type in the start tag. Location: Part: /word/document.xml, Line 2, Column: 5119889" I am

  • Query of the cube # is getting displaced

    Hi All,        In the query of the cube for characteristics whereever it is blank from the cube it is getting displayed by a '#".I want it to display a blank. how to overcome this problem. thanks