Workflow design: Repeatedly triggering subworkflow at some interval

Hi,
I have a workflow with many sub workflows. In this workflow, one particular sub workflow should be triggered repeatedly say every week until some validity date.
For ex: If a sales order triggers the main workflow and the sales order has a BEGDA and ENDDA, then one particular subworkflow should be triggered repeatedly every week(This duration can change and should be picked up from a customizing table) until the system date becomes ENDDA.
Any ideas appreciated.
Regards,
Srini.

Hi Srinivasa,
U can use a LOOP step to carry out this functionality.
1. Add a initial step to Triiger the subworkflow.
2. Then, create a LOOP(Until) step.
Condition for that can be the (sy-datum EQ ENDDA).
Inside the loop u have to add a step which will add 7 to the sy-datum(Current date) and store the result date in a container.
OR else u can omit this step and directly mention the waiting time in next step like this.
Refer date/time : Work Item creation
Date : <Current date>.
Time : ---
      + 7 Days
3. Next to this step u will have ACTIVITY step which wiil just wait till the resultant date
In this activity step, add this date in the REQUESTED START tab.
Refer date/time : Work Item creation
Date : <Result date>.
4. After this add an ACTIVITY which will trigger the same subworkflow.
5. After this the loop will check the condition and repeat the process.
Rgds,
Prakash
Message was edited by: Prakashsingh Mehra
Message was edited by: Prakashsingh Mehra

Similar Messages

  • Urgent Help needed in loggin to Workflow designer

    Hi there,
    I have a written a program from which a workflow get triggered automatically. The programs runs file in my machine. When i deploy it in my server machine it doesn't work. The server machine has a sandbox installed. But my machine doesn't have a sandbox. I have installed all tools separately in my machine.
    When i run my application in the server machine the following error comes:
    java.lang.reflect.UndeclaredThrowableException
    at $Proxy1.login(Unknown Source)
    at com.adobe.workflow.client.QLCSessionImpl.login(QLCSessionImpl.java:11
    6)
    at TriggerWorkflow.main(TriggerWorkflow.java:50)
    Caused by: java.io.InvalidObjectException: inauthentic principal assertion
    at com.adobe.idp.Context.getValidatedAuthResultFromAssertion(Unknown Sou
    rce)
    at com.adobe.idp.Context.readResolve(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeReadResolve(ObjectStreamClass.java:92
    5)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
    655)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
    at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
    at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvo
    kerProxy.java:136)
    at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(Marshalling
    InvokerInterceptor.java:67)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.
    java:46)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:5
    3)
    at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessi
    onInterceptor.java:100)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
    ... 3 more
    com.adobe.workflow.client.QLCException: Login failed, or you do not have permiss
    ions to login to this application
    at com.adobe.workflow.client.QLCSessionImpl.login(QLCSessionImpl.java:12
    6)
    at TriggerWorkflow.main(TriggerWorkflow.java:50)
    I am seriously bugged by this error. I am giving the correct user name and password but still the error comes. I dont know how to solve this. This might be some small settings change. But i am not sure. Also when i try to connect the workflow designer through Eclispe in that server machine, even there the login failure message still comes.
    Can anyone please advise on this as it is very urgent.
    Suraj

    Hi Suraj
    Since you're getting this with Workflow Designer as well as your code, it doesn't look like it's anything with your code.
    It looks very much to me like you're specifying an invalid username and/or password.
    - Can you log into fm or adminui using the same username and password?
    - Can you log in to either Workflow Designer or your custom application using a different username and password?
    - Does your username or password contain non-USAscii characters?
    One thing I have seen is where there is a user in LDAP whose login name is "administrator". This can conflict with the LiveCycle local "administrator" account, and prevent you from logging in.
    I hope this is of some help...
    Howard
    http://www.avoka.com

  • Problem logging into Workflow Designer

    Hi,
    here is my problem. Workflow 7.0 is installed on W2k3 EE (with Forms and Form Manager) via turnkey installation ( and is on Jboss of course). I've got four other computers in domain. All with XP. And only from one i can login into Workflow Designer. All computers has access to server (with workflow installed), and to server with AD. Workflow is integrated with LDAP (i see new users added in AD after synchronization). And the problem is: that i can log into workflow designer only from one computer. And on all users that have process developer rights i can also log (on that one and only computer). On all other computers i got the following error:
    java.lang.reflect.UndeclaredThrowableException
    at $Proxy1.login(Unknown Source)
    at com.adobe.workflow.client.QLCSessionImpl.login(QLCSessionImpl.java:116)
    at com.adobe.workflow.saf.SAFLoginDialog$3.run(SAFLoginDialog.java:122)
    Caused by: java.io.InvalidObjectException: inauthentic principal assertion
    at com.adobe.idp.Context.getValidatedAuthResultFromAssertion(Context.java:291)
    at com.adobe.idp.Context.readResolve(Context.java:246)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.rmi.MarshalledObject.get(Unknown Source)
    at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:136)
    at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.j ava:67)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53)
    at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:1 00)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
    ... 3 more
    com.adobe.workflow.client.QLCException: Login failed, or you do not have permissions to login to this application
    at com.adobe.workflow.client.QLCSessionImpl.login(QLCSessionImpl.java:126)
    at com.adobe.workflow.saf.SAFLoginDialog$3.run(SAFLoginDialog.java:122)
    I've tryied reinstalling system, jdk, workflow designer and nothing helped.
    Maybe someone has any clue.
    Regards

    Hi,
    Howard's first post:
    1 - i can't log as administrator/password from any other machine than my
    2 - all the machines can ping server by name and by ip
    3 - i don't know anything about that patch (so didn't install)
    4 - yes
    5 - yes, they are identical
    Howard's second post:
    that is from where i took the error message
    Mr. Style's post:
    i compared the size of workflow designer on my machine and on other and
    EUREKA, they are different, also i got some extra directories in workflow designer directory (but this is because of using janel trick), so i copy all extra directories and workflow designer exe to other machines and now it's working.
    Thank You Mr. Styles.
    ps. still don't know how to check workflow designer version and from where i got different version on my machines (i was sure that i installed from one archive)

  • Hint:  Start a Java Console Window to diagnose problems in Workflow Designer

    Hello -
    A trick you can use to try and identify problem you are having using the Workflow deisgner is to turn on the JavaConsole for the designer session. On windows you can do this by modifying the shortcut to start designer. Add the following parameter to the end of the path:
    "c:\wf\adobe_livecycle_workflow_7_0_designer.exe" -is:javaconsole
    Note the Quotes around the path, and the parameter after the quotes.
    This will open a console window along with workflow designer - any exceptions thrown will print a stack trace here (as well as any System.out lines you use in a QPac Dialog etc.) I would recommend using this option all the time as it may help diagnose issues.
    In the case if mis-matched versions on the server and client you can expecct errors like "InAuthenticPrincipalException", "InvalidClassException" or SerialVersionUID mis-match.
    Hope this helps,
    Will

    I have created two projects, one by Java and the
    other one by VC++. Now I want to start the VC++ app,
    which is a console app, in the Java program. I tried
    using "Runtime.getRuntime().exec(path of VC app)",
    but it doesn't work. Even I found with this way, the
    Window cmd line cannot be started either. Coz this VC
    app is console based, I suspect if there are some
    restrictions on the Window Console App to be called
    by this Runtime class. Could anybody here help me
    with that? Thanks a lot!No. There often seems to be some confusion about how the exec methods work and the restrictions since it is coming from Java.
    Let me clear that up.
    That is 100% rubbish.
    When runtime exec "doesn't work" it means that you have not used it correctly or understand the environment in which it is running or a a myriad of other confusions. But this question gets asked alot and about one point I cannot be more clear. There is NOTHING special happening because it is Java. Windows or Linux or whatever you are running is NOT saying "Well I won't run that program run because it is Java and I hate it. Ha ha!"
    No. What it means when it "doesn't work" is that either the OS is saying "what they hell did you just say?" or because the OS says "okay" and does something that you didn't expect.
    At any rate please read the following article that has helped many before you http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • 3 different workflows are getting triggered. Please suggest

    Hello Experts.
    i saw a new issue with the PO release strategy that, for certain PO's  When the po is successfully released  automatically PO CHAGNE and PO REJECTED workflows are getting triggered.
    This is happening with only few PO's Not all.
    If it is related to Event raise of CHANGE nd REJECT , for every PO release they should trigger ryt.
    But only for certain po's its happening. And user says they never changed or rejected the PO'S and they are successfully released.
    I Verified to some extent but no use
    Can you suggest.
    Regards
    Prasad CH.

    Hello Modak.
    This is want happend in event trace. PO was changed on 1/1 and Change event is raised on 18/8
    I wanted to know what does this EVENT DATA & TRACEDATA in swel(after double clicking on the event in swel)
    Issue is, for a  workflow event trace, it says EVENT CREATED ON 1/1/2014 (in event data) and EVENT TRACE DATE/TIME 18/8/2014(trace data).
    Here in 1/1/2014 there is an event created CHANGED.but the worklfow did not start then.
    It was started on 18/8/2014. By that time the actual release of PO completed and this workflow again started saying PO changed.
    If i verify event trace by date for 1/1/14 and 18/8/14 it shows the same
    I verified both the CDHDR and CDPOS and see the entries are changed on 1/1/2014 only.
    How can this happen???
    What does this EVENT TRACE DATE/TIME mean??
    The event even created on 1/1/2014 the workflow starts on 18/8/2014 as per the EVNTTRACE DATE.
    Please Advice.
    Cheers
    Prasad CH.

  • Workflow not being triggered by incoming email

    Hello,
    I have a SharePoint Designer workflow that triggers when a new item is created. The library the workflow is attached to specifically receives incoming emails. The workflow runs perfectly in our SharePoint 2010 environment, however, it does not
    run on incoming emails received in our SharePoint 2013 environment. If I upload a document into the library, it will run. It also runs if I manually start it. It just won't run automatically when it receives an incoming email. Is this a bug or is this
    to be expected with SharePoint 2013? Thanks.

    Hi Gmchusyr,
    I recommend to check if workflow trigger on email is enabled in SharePoint with the PowerShell command below:
    $spWebService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
    $spWebService.DeclarativeWorkflowAutoStartOnEmailEnabled
    If it is False, please enable it with the PowerShell command below and then check the results:
    $spWebService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
    $spWebService.DeclarativeWorkflowAutoStartOnEmailEnabled = $true
    $spWebService.Update()
    Here is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/office/en-US/436592de-6100-4659-9fbe-22aedb98c23c/incoming-email-not-triggering-on-item-created-workflow?forum=sharepointcustomization
    More references:
    http://adayinsharepointv3.blogspot.jp/2012/12/kick-off-workflow-in-sharepoint-library.html
    http://social.technet.microsoft.com/wiki/contents/articles/4607.sharepoint-2010-workflows-on-incoming-emails-in-sharepoint-documents-library.aspx
    For SharePoint 2013 workflows, the workflows can be triggered by incoming emails, however the workflows will fail after starting.
    In this case, we need to activate the Workflows  can use app permissions in Manage site features in site settings.
    http://dhasalprashantsharepoint.blogspot.jp/2013/07/sharepoint-2013-workflow-suspends-on-e.html
    Best regards.
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • I change the hard disk from 500gb to 750 gb then i heard qw sound in some interval pls advice me., i change the hard disk from 500gb to 750 gb then i heard qw sound in some interval pls advice me?

    i change the hard disk from 500gb to 750 gb then i heard qw sound in some interval pls advice me., i change the hard disk from 500gb to 750 gb then i heard qw sound in some interval pls advice me?

    I wish it was under better circumstances, but welcome to the discussions!
    It certainly sounds like a bad HD to me. Back up your data and then take it in or call Apple.

  • Workflow not getting triggered from webdynpro event

    Hello gurus,
    I have a requirement in which if an employee changes his own information on the ESS portal, then an approval should be done by HR. For this i created a custom webdynpro application in which i fetch the employee data and check it with old data in one view and when user clicks save button the approval workflow should be triggered.
    For this i created a custom BO using transaction SWO1. I added a 'CHANGE' event and 'send_data_to_wf' method.
    In SWDD i created the workflow which is working fine when i test it in SWDD only. But when i trigger it using FM 'SWE_CREATE_EVENT', only the event is getting triggered and not the workflow. I checked the trace in transaction SWEL in which i can see the 'CHANGE' event under Event column but Name of Reciever Type column is emty. It should display my custom workflow ID. Please let me know where i m lacking or going wrong.
    Regards,
    Yayati Ekbote

    Hello Ricardo,
    Thanks for immediate reply. Yes, the linkage is active in SWE2. My custom object type is ZHRAD and event is change. I also tried the FM 'SAP_WAPI_CREATE_EVENT'. But in this FM the event also doesn't get triggered. Using FM 'SWE_CREATE_EVENT' atleast triggers the event. I debugged the FM. The container inside the FM is remaining initial. I am posting my code which i am using.
    DATA: pernr TYPE pa0001-pernr VALUE '40000001'.
      DATA: objtype   TYPE swr_struct-object_typ VALUE 'ZHRADCHO',
            objkey    TYPE sweinstcou-objkey,
            event     TYPE swr_struct-event VALUE 'CHANGE',
            it_wfcont TYPE STANDARD TABLE OF swcont,
            wa_wfcont TYPE swcont,
            event_id  TYPE swedumevid-evtid,
            ret_code  TYPE swedumevid-evtid.
      wa_wfcont-element = 'PERNR'.
      wa_wfcont-value = '40000001'.
      APPEND wa_wfcont TO it_wfcont.
      wa_wfcont-element = 'SUBTY'.
      wa_wfcont-value = '1'.
      APPEND wa_wfcont TO it_wfcont.
      wa_wfcont-element = 'ENDDA'.
      wa_wfcont-value = sy-datum.
      APPEND wa_wfcont TO it_wfcont.
      wa_wfcont-element = 'BEGDA'.
      wa_wfcont-value = sy-datum.
      APPEND wa_wfcont TO it_wfcont.
      objkey = pernr.
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        objtype                       = objtype
        objkey                        = objkey
        event                         = event
    *   CREATOR                       = ' '
    *   TAKE_WORKITEM_REQUESTER       = ' '
    *   START_WITH_DELAY              = ' '
    *   START_RECFB_SYNCHRON          = ' '
    *   NO_COMMIT_FOR_QUEUE           = ' '
    *   DEBUG_FLAG                    = ' '
    *   NO_LOGGING                    = ' '
    *   IDENT                         =
    * IMPORTING
    *   EVENT_ID                      =
    *   RECEIVER_COUNT                =
    TABLES
       EVENT_CONTAINER               = it_wfcont
    EXCEPTIONS
       OBJTYPE_NOT_FOUND             = 1
       OTHERS                        = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK.

  • Workflow not getting triggered from Action definition in CRMD_ORDER

    Hello Experts,
    I have created a workflow which should send mail to partner team in a Change Request.This workflow should be triggered when a particular Zaction is performed on the CR.Zaction is created properly and my workflow is also assigned to it.I have also followed OSS note-733675 and created a workflow container with name "BUSINESSOBJECT" to get the application data into my workflow when the action is performed.My workflow is a background processing one.
    I have tested it separately by providing GUID foreground and it works perfectly fine and mail is sent to partner team.But when i perform the action,mails are not getting triggered nor the workflow.I am not even able to check the logs.I am not even able to know if all the action has triggered my workflow.Kindly help.Would appreciate your contribution.
    Regds
    VLP

    Please check in SWI2_FREQ whether the Workflow is really getting triggered.
    Thanks
    Arghadip

  • Workflow Designer: template url problem

    Hi all,
    I successfully installed:
    Forms/Form Manger 7.0.1 on w2k3_box1;
    Workflow Server 7.0.1 on w2k3_box2;
    Using:
    Jboss 3.2.5,
    MSS 2K,
    JDK 1.4.2_11
    with manual options. Adminui appears fine, FormsIVS appears fine.
    In Workflow Desginer, I tried to define a new workflow. In initform, when I clicked on "browse" botton next to "template url" field, I got error msg:
    com.adobe.appstore.AppstoreException
    Can anyone give a clue of how to resolve it? I have uploaded a test form into forms repository, and trying to refer to it in the workflow designer.
    Thanks!
    Scott Jiang

    Hi all,<br /><br />Thanks for the response. I have tried WF designer on both client and WF server side. Same result. <br /><br />If anyone can point me to the documention where it says Form Manager and Workflow have to be installed in the same box that's great. I'm told to install them on separate boxes because version 6, has been done in that way, and due to transaction volume we'd like to install them separately. Has any customer done in this kind of configuration? <br />BTW, I already checked "Integrating LiveCycle Products" doc.<br /><br />There is the log from java console. Seems like JNDI lookup failed on the client side code when I click the "template url" button.<br />===================================================================<br />com.adobe.appstore.AppstoreFactoryException: com.adobe.appstore.AppstoreException<br />        at com.adobe.ebxml.registry.appstore.AppstoreFactory.getAppstore(Unknown<br /> Source)<br />        at com.adobe.workflow.saf.SAFApplication.getAppstore(SAFApplication.java<br />:827)<br />        at com.adobe.workflow.saf.SAFApplication.browseAppstore(SAFApplication.j<br />ava:837)<br />        at com.adobe.workflow.tools.processdesigner.JUrlCellEditor$1.actionPerfo<br />rmed(JUrlCellEditor.java:104)<br />        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)<br />        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow<br />n Source)<br />        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)<br />        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)<br />        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour<br />ce)<br />        at java.awt.Component.processMouseEvent(Unknown Source)<br />        at java.awt.Component.processEvent(Unknown Source)<br />        at java.awt.Container.processEvent(Unknown Source)<br />        at java.awt.Component.dispatchEventImpl(Unknown Source)<br />        at java.awt.Container.dispatchEventImpl(Unknown Source)<br />        at java.awt.Component.dispatchEvent(Unknown Source)<br />        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)<br />        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)<br />        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)<br />        at java.awt.Container.dispatchEventImpl(Unknown Source)<br />        at java.awt.Window.dispatchEventImpl(Unknown Source)<br />        at java.awt.Component.dispatchEvent(Unknown Source)<br />        at java.awt.EventQueue.dispatchEvent(Unknown Source)<br />        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)<br /><br />        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)<br />        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)<br />        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)<br />        at java.awt.EventDispatchThread.run(Unknown Source)<br />Caused by: com.adobe.appstore.AppstoreException<br />        at com.adobe.ebxml.registry.appstore.AppstoreDelegate.lookup(Unknown Sou<br />rce)<br />        at com.adobe.ebxml.registry.appstore.AppstoreDelegate.<init>(Unknown Sou<br />rce)<br />        ... 27 more<br />Caused by: javax.naming.NameNotFoundException: com not bound<br />        at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)<br />        at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)<br />        at org.jnp.server.NamingServer.getObject(NamingServer.java:509)<br />        at org.jnp.server.NamingServer.lookup(NamingServer.java:253)<br />        at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)<br />        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces<br />sorImpl.java:25)<br />        at java.lang.reflect.Method.invoke(Method.java:324)<br />        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)<br />        at sun.rmi.transport.Transport$1.run(Transport.java:148)<br />        at java.security.AccessController.doPrivileged(Native Method)<br />        at sun.rmi.transport.Transport.serviceCall(Transport.java:144)<br />        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4<br />60)<br />        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport<br />.java:701)<br />        at java.lang.Thread.run(Thread.java:534)<br />        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow<br />n Source)<br />        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)<br />        at sun.rmi.server.UnicastRef.invoke(Unknown Source)<br />        at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)<br />        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)<br />        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)<br />        at javax.naming.InitialContext.lookup(Unknown Source)<br />        ... 29 more

  • Workflow design questions: FM vs WF to call FM

    Hereu2019s a couple of workflow design questions.
    1. We have Workitem 123 that allow user to navigate to a custom transaction TX1. User can make changes in TX1.  At save or at user command of TX1, the program will call a FM (FM1) to delete WI 123 and create a new WI to send to a different agent. 
    Since Workitem 123 is still open and lock, the FM1 cannot delete it immediately, it has to use a DO loop to check if the Workitem 123 is dequeued before performing the WI delete.
    Alternative: instead of calling the FM1, the program can raise an event which calls a new workflow, which has 1 step/task/new method which call the FM1.  Even with this alternative, the Workitem 123 can still be locked when the new workflowu2019s task/method calls the FM1.
    I do not like the alternative, which calls the same FM1 indirectly via a new workflow/step/task/method.
    2. When an application object changes, the user exit will call a FMx which is related to workflow.  The ABAP developer do not want to call the FMx directly, she wants to raise an event which call a workflow .. step .. task .. method .. FMx indirectly.  This way any commit that happens in the FMx will not affect the application objectu2019s COMMIT.
    My recommendation is to call the FMx using u2018in Update tasku2019 so that the FMx is only called after the COMMIT of the application object.
    Any recommendation?
    Amy

    Mike,
    Yes, in my first design, the TX can 1. raise a terminating event for the existing workitem/workflow and then 2. raise another event to call another workflow.   Both 1 and 2 will be in FM1. 
    Then the design question is: Should the FM1 be called from TX directly or should the TX raise an event to call a new workflow which has 1 step/task, which calls a method in the Business object, and the method calls the FM1?
    In my second design question, when an application object changes, the user exit will call a FMx which is related to workflow.  The ABAP developer do not want to call the FMx directly, she wants to raise an event which call a workflow, which has 1 step/task, which calls a method, which calls the FMx indirectly.  This way any commit that happens in the FMx will not affect the application objectu2019s COMMIT.
    My recommendation is either call the FMx using u2018in Update tasku2019 so that the FMx is only called after the COMMIT of the application object or raise an event to call a receiver FM (FMx).
    Thanks.
    Amy

  • LiveCycle Workflow Designer 7.1

    I have successfully installed:
    Adobe Live Cycle Form Manager 7.02
    Adobe Live Cycle WorkFlow 7.0
    Adobe Live Cycle Reader Extensions
    They are installed on the server. I installed:
    Adobe Live Cycle WorkFlow 7.0 Designer
    It is on my workstation. This is sometimes connected to the
    server and most of the time it is not. I can not login to the
    Adobe Live Cycle WorkFlow 7.0 Designer on the workstation.
    I have tried to login as Administrator, password but, it does
    not allow me to sign in.
    How do I set privliges for the Adobe Live Cycle WorkFlow 7.0
    Designer on the workstation?
    What do I need to use the Adobe Live Cycle WorkFlow 7.0
    Designer by itself on the workstation?
    Can Workflow Designer run dis-connected from the server?
    Sincerely,
    Frank Burns
    Consultant
    RockwellCollins/Cedar Rapids
    (319) 295-9486

    Hello -
    It is entirely possible that you have a version mis-match on the client and the server you are pointed to. The 'context' object which identifies a logged in user must be of the exact same version in the client and server software.
    A trick you can use to try and identify problem you are having using the Workflow deisgner is to turn on the JavaConsole for the designer session. On windows you can do this by modifying the shortcut to start designer. Add the following parameter to the end of the path:
    "c:\wf\adobe_livecycle_workflow_7_0_designer.exe" -is:javaconsole
    Note the Quotes around the path, and the parameter after the quotes.
    This will open a console window along with workflow designer - any exceptions thrown will print a stack trace here (as well as any System.out lines you use in a QPac Dialog etc.) I would recommend using this option all the time as it may help diagnose issues.
    In the case if mis-matched versions on the server and client you can expecct errors like "InAuthenticPrincipalException", "InvalidClassException" or SerialVersionUID mis-match.
    Hope this helps,
    Will

  • How to handle exception thrown in standard bo method in the workflow design

    Hi Experts
        how to handle exception thrown from standard bo method in the workflow design. For example, bo BUS2032, METHOD confirm. If the user cancel it, it will throw exception. In the workflow, how to catch this exception and add corresponding steps in the workflow.

    @jrockman li
    Try to implement the logic that what ever you are performing in the BO mehtod in a FM and in the FM you have tab with name EXECPTIONS define the execption in that tab.Now in the BO method you call this FM  and if the exception occurs by using RAISE you can raise the exception in the FM and based on the number of exceptions your sy-subrc value will be set
    so when sys-subrc is not eq 0 then pass a value back t the workflow container., I think this will work.
    a sample Snippet for understanding purpose
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename         = <path>
        filetype         = 'ASC'
      IMPORTING
        filelength       = lv_len
      TABLES
        data_tab         = l_txt_tab
      EXCEPTIONS
        file_write_error = 1          " If this Exception occurs
        invalid_type     = 2
        no_authority     = 3
        unknown_error    = 4
        OTHERS           = 10.
    CASE sy-subrc.
      WHEN 1. " SY-SUBRC value will be 1 then,
          " Pass or set the value back to the workflow conatiner element
    ENDCASE.

  • Workflow to be triggered if Inbound Idoc is successful

    Hi,
    Kindly help me out with the following senario:
    After the vendors are created in MDM, they are distributed to an R/3 (ECC 5.0) system via XI. XI uses  the message type CREMAS to distribute the vendors. When the inbound Idoc is successsful, a workflow should be triggered to the concerned user about the vendors created in the R/3 system.
    How can we find out which event gets triggered when the Idocs were successful such that we can trigger a custom/standard workflow??
    Thanks in advance
    Regards
    Kishan

    This report might help you
    RSEIDOCM
    Otherwise maybe in ALE customising you could create an event in a user program and use FM SAP_WAPI_START_WORKFLOW to launch your workflow.
    You will have the IDOC message types coming in and the process codes which are executed so you should be able to monitor the process and take whatever action you need during the process..
    (Customising -- use transaction SALE) 
    cheers
    jimbo

  • FMBB Budget Approval workflow is not triggered

    Hi Experts,
    I want to activate the standard workflow for Budget Approval in FMBB t-code. I found two standard workflow templates for this WS12300025 and WS12300026 and I activated it. In both workflow templates start event is maintained as 'BUS0050'  'PREPOSTEDDOCCREATED' .
    But when I am creating Budget document in FMBB t-code, 'BUS0050' 'POSTEDDOCCREATED' is triggering , so the standard workflow is not triggering.
    Then checked in forums, that we should maintain SPRO settings. I maintained the setting in SPRO.(Attachment 1).
    After maintained this setting I am facing an error while creating Budget in FMBB t-code. (Attachment 2).
    Kindly help me on this is urgent .
    Thanks & Regards
    Ayyappan.V

    Ibrahim, The complete statement is:
    If event linkage not activated it (Workflow Instance) will not get traced i.e. in T-Code SWI2_FREQ, thats the reason I have suggested to check error message in SWEL .
    SWEL will always create entry whether linkage is activated or not, the only thing is trace should be on in T-Code SWELS.  Hope things are clear now.
    BR,
    Prakash

Maybe you are looking for