Regarding Workflow triggering event.

Hi,
Description: I have created a Object type and a event for the same by transaction SWO1, after that i have created a WorkFlow(WF) for which the triggering event is the event i have created in the Object Type. There is a report in which i have used the FM "SWE_EVENT_CREATE" and passed the Object Type, Event Name, Key field values and the creator.
Problem: When i am executing this report the FM is called and the sy-subrc after call is 0, stating that the call was succesfull, but the WF is not getting triggered when i went to transaction SWI2_FREQ to check this WF is not at all triggered. But when i tested from WF transaction SWDD it is working fine.
Could anyone please explain me on this. or is there any other way to use an event of a Object Type to trigger WF.
Thanks and Regards,
Raghavendra Goutham P.

hi gauthum,
try this chks.
Workflow Trace On/Off - SWU8
Display              - SWU9
Delete              - SWU10.
Work Item Analysis    - SWI1
Identifying workflow for the work Item :
Tx : SWI1 - Enter the workiem id which has been identified in workflow log
       The details consists of workflow of the workitem.     
WorkFlow Errors :
1. Workflow Not Started           - Using Event Trace we can Identify
2. Started but No Proceeded           - Wrong Object Keys
3. Problem in Work Item Execution
     Dialog Work Item          - Agent Determinaion Error ( Position,Role,User )
                         - Role Resolution Error
                           Reqd Element would no be
                           Set in Binding
     Background Work Item      - Make Foreground and Test once Sucessfull make it Back round
rgds
nver
if hlped mark points

Similar Messages

  • In Which table Will maintain the All Workflows Triggering Event Details?

    Hi,
    Can Any one tell me
    In Which table Will maintain the All Workflows Triggering Event Details?

    Hi Mohit,
    The Tr Codes KE29N/KE28L will give me the Logs of Past TDD runs. However, i would like to see the all the variants in a go. Due to a Organizational change, there is a new characteristics introduced. Now we need to change the sequence of the TDD runs. Since there are lot of TDD Variants that are in use. we need to get all of them into an excel and then decide the necessary changes.
    Thanks & Regards
    Surya

  • Help regarding workflow triggering

    hi
    i am working on WLI using weblogic 8.1
    i have designed very simple workflow using some simple nodes.
    as given in the tutorial i am able to run my workflow using test browser.
    .its pefectly working.
    i would like to know the ways of triggering the workflow from java clients.
    Is subscribing to message broker is the only way or we have some other simpler
    ways?
    thanx

    Thats correct for Weblogic Integration 7.0 and before but in Weblogic
    Integration 8.1 there is no default queue with the name
    "com.bea.wli.bpm.EventQueue" configured. Weblogic Platform 7.0 uses the
    Message Oriented Middleware (MOM) aproach and Weblogic Platform 8.1 uses the
    Service Oriented Architecture (SOA).
    There is a good article about Weblogic Workshop Internals on dev2dev [1] and
    in the documentation there is a page about writing clients for web services
    [2] (in Weblogic Platform 8.1 workflows are web services).
    If you create your workflow with Weblogic Workshop then you can access the
    workflow over the URL
    http://yourhost:7001/yourApplication/processes/yourProcess.jpd with SOAP. In
    the test browser under the overview tab you can generate a WSDL, a Java
    Control, a Service Broker Control and a Java Proxy (which needs the Proxy
    Support Jar). With this components you can access your workflow. If you
    wanna see the SOAP message use the test browser there is the html form which
    uses http for triggering the workflow, for example:
    <table cellspacing=0 cellpadding=0 border=0 width="100%">
    <form NAME="placeOrder"
    METHOD="POST"
    ACTION=http://localhost:7001/AvitekWeb/processes/orderProcessing/placeOrder.
    jpd>
    <tr><td colspan=2 class=methname><A
    NAME="placeOrder"></A>placeOrder</td></tr>
    <tr><td colspan=2 class=methdesc><!-- do comments
    correctly --><!--docString--></td></tr>
    <tr>
    <td class=namcol><nobr><b>SOAP body:</b> </nobr></td>
    <td class=inpcol>
    <TEXTAREA class="xmlbox" name=".SOAPMESSAGE" COLS=50 ROWS=10 ><placeOrder
    xmlns="http://www.openuri.org/"
    xmlns:eval="http://www.beasys.com/evalguide">
    <eval:Order>
    <eval:CustomerID>3</eval:CustomerID>
    <eval:OrderPriority>string</eval:OrderPriority>
    <eval:CustomerType>string</eval:CustomerType>
    <eval:LineItems>
    <!--1 or more repetitions:-->
    <eval:Item>
    <eval:Name>string</eval:Name>
    <eval:SKU>3</eval:SKU>
    <eval:Description>string</eval:Description>
    <eval:Price>1.5E2</eval:Price>
    <eval:Quantity>3</eval:Quantity>
    </eval:Item>
    </eval:LineItems>
    <eval:OrderID>3</eval:OrderID>
    <eval:TotalAmount>1.051732E7</eval:TotalAmount>
    <eval:OrderDate>2008-09-29</eval:OrderDate>
    <eval:OrderStatus>string</eval:OrderStatus>
    </eval:Order>
    </placeOrder>
    </TEXTAREA></td></tr>
    <tr><td><img alt="" height=6 width=0
    src="http://localhost:7001/AvitekWeb/processes/orderProcessing/placeOrder.jp
    d?.RESOURCE=blank.gif">
    </td></tr><tr><td> </td><td class=inpcol><input TYPE=submit
    class=inpbut VALUE="placeOrder"> starts a conversation<input TYPE=HIDDEN
    NAME=.EXPLOREOVERRIDE value=".TESTXML"><input TYPE=hidden NAME=.EXPLORE
    VALUE=.INVOKE><INPUT TYPE=hidden NAME=.CONVERSATIONID VALUE=_ID_><INPUT
    TYPE=HIDDEN NAME=".CONVPHASE" VALUE=".START"><p></td></tr></form>
    I think in this code is all what you need to start a workflow.
    mfg
    Daniel
    [1] http://www.dev2dev.com/products/wlworkshop81/articles/wlw_internals.jsp
    [2] http://e-docs.bea.com/wls/docs81/webserv/client.html
    "Raj" <[email protected]> schrieb im Newsbeitrag
    news:[email protected]...
    >
    Hi Swati,
    You can write JMS program to post an XML to a Queue and configure thestart node
    to event.The Quename for this client program should be"com.bea.wli.bpm.EventQueue",
    else you have to configure an MDB listener. Let me know if you havefurther doubts....
    >
    Regards
    Raj
    "swati" <[email protected]> wrote:
    hi
    i am working on WLI using weblogic 8.1
    i have designed very simple workflow using some simple nodes.
    as given in the tutorial i am able to run my workflow using test browser.
    .its pefectly working.
    i would like to know the ways of triggering the workflow from java
    clients.
    Is subscribing to message broker is the only way or we have some other
    simpler
    ways?
    thanx

  • Notification mail according to  triggerring event in workflow

    Hi All,
              am doing customer master workflow using KNA1 Business object, it has event CREATE and CHANGE.
    whenever event CREATE is triggering workflow, i want to send notification mail with title 'CUSTOMER 999 CREATED'.
    whenever event CHANGE is triggering workflow, i want to send notification mail with title ' CUSTOMER 999 CHANGED'.
    Could you please advise, how can i handle notification mail according to triggering event.
    Thanks in advance.
    Regards,
    Balamurugan.

    You can either trigger a 1 step workflow that has a send mail step. The triggering event of the Workflow should be CREATE and CHANGE event of BO KNA1. You have to activate the linkage between event and workflow in PFTC. You have to maintain some entries in SWE2.
    After you have done this check your development from Tcode SWEL.
    Thanks
    Arghadip

  • Work Flow - Triggering Event through Webdynpro

    Hi,
              I am new to Workflow. I have generated the Workflow related to claim (Objects as ABAP Class). Now I have generated Webdynpro component and through this I need to execute the Workflow. I have used the FM SAP_WAPI_START_WORKFLOW & SAP_WAPI_CREATE_EVENT. To raise the event 'cl_swf_evt_event=>raise'. I have used. But this is not triggering event. So, Any one can help me on this issue.
    In workflow using ABAP CLASS is essential or Business object.
    In my case I have used only ABAP CLASS. In workflow I have generated the Triggering event as SAVE. In webdynpro I have generated the code in 'ONACTIONSAVE'. When ever the user clicks SAVE' button. Workflow shouild trigger and approver should receive the mail as notification and he/she will approve/reject the claim.
    Thanks & Regards
    Kannappan

    After SAP_WAPI_START_WORKFLOW do you have COMMIT WORK?
    Does the SAP_WAPI_START_WORKFLOW return some error message?
    Are you sure that the event is not triggered? Check this with event monitor SWEL (turn monitor on in SWELS).
    Also, ready Jocelyn Dart's blogs about ABAP OO. She have clear instructions about how to trigger ABAP OO events.
    Regards,
    Karri

  • Triggering event FMRE-CREATED in an infinite loop

    Hi guys,
    Iu2019m having a big problem in Public Sector Management with Founds Management Government when I create a Found reservation Tcode FMX1.
    My problem is the triggering event FMRE-CREATED  (event to start the Workflow) because when the document is created, this event is generated by the system which is fine, but inside on my Workflow I have a task to change the status with FMRE-SetLock, when this method is executed, automatically trigger an event FMRE-CREATED again, so my WF gets in a infinite loop.
    How can I tell the system to donu2019t trigger this event when the status is changed?
    Thanks a lot
    Felipe Uribe.

    Hi,
    but inside on my Workflow I have a task to change the status with FMRE-SetLock, when this method is executed, automatically trigger an event FMRE-CREATED again, so my WF gets in a infinite loop.
    How you changing the status? Check any Function Module or BAPI to change the status.
    You have acheive it via Start Condition, check are you getting entry in the Table  SWFREVTLOG for Creation.
    If second time creating, check for the entry in the table, if found not allow it.
    Regards,
    Surjith

  • Workflow Triggering twice when executing transaction cj21n

    Hi Experts,
    when i am executing transaction cj21n my workflow is triggering twice but earlier  it was working fine ..
    please provide your input on the same
    Thanks
    Deepanker Dwivedi

    Hi,
    The 'event' which  mapped to workflow triggered twice or another event may added to the workflow
    1) Did you give additional event for the workflow in the Basic Data -> Start events, if yes remove that event and test it.
    2) If 'No', In the SPRO configurations some settings might have changed, Check with your Function Consultant ask  any changes they done in the SPRO settings related to the T.code cj21n.
    Regards,
    Surjith

  • Issue in triggering events in task

    Hi,
    In my workflow there is a fork and after a fork there is a task for which triggering event is defined and this particular event is triggered from zprogram and agent for task is determined using a rule.
    In zprogram logic is written as event (triggering event for task) is triggered when all 4 users in fork presses submit button.
    Problem is when 4th user presses submit button workitem is created in workplace of agent defined for task and in 4th user as well.Workitem should not be created for 4th user.
    Please suggest.
    Regards,
    Kaustubh.

    Hi Rick,
    I have defined single task in all branches of a fork with CONFIRM END OF PROCESSING tick in task. Task is to call ztransaction.
    Problem is if all users in a fork enters into transaction and by clicking BACK comes out without pressing SUBMIT button in ztransaction and clicks COMPLETE WORK ITEM flow will go to task defined after fork which i dont want.
    Flow should go to task after fork only when user presses SUBMIT and COMPLETE WORK ITEM button.
    Hence I have created triggering event for task which gets triggered only after all user presses SUBMIT.
    Please suggest.
    Regards,
    Kaustubh.

  • Workflow triggers unwantedly

    Hi All ,
    we are a strange issue in EC incoming Invoice workflow in SRM, descriptiojn is as follows
    we have two workflow in our system for invoice one goes through approval and other auto approval , and on the SRM portal at header level in the basic data we have added two custom fields allow NON-PO invoice and Allow RE ,and implemented the doc_check_badi , now at the line item level if we do not give any PO refernce and check/post  then we get an error message saying the entrer PO and the status of the invoice to " to be corrected manually" ideally in the above case approval  workflow should not trigger , it sould only trigger when we tick the allow Non-po invoice check button , and it was working fine , but suddenly after patch upgrade the approval workflow triggers even if we do not tick the chck box at header level . Can anyone suggest did any thing go wrong in patch upgrade , I have checked all the conditions and linkages all are fine, but i guess some standard setting is missing which would have gone missing .

    Dear all,
             Thanks a lot for reading my post with intention to answer.
             The issue is resolved now.
             The problem was at BAdI.To trigger the workflow with event CREATED for purchase requisition, BAdI named ME_REQ_POSTED needs to be used :
             Following coding is used for the same :
    method IF_EX_ME_REQ_POSTED~POSTED.
      DATA: WA_EBAN TYPE EBAN.
      DATA L_S_EBAN TYPE UEBAN.
      DATA: OBJKEY TYPE SWEINSTCOU-OBJKEY .
      LOOP AT IM_EBAN INTO L_S_EBAN .
      ENDLOOP.
        IF ( SY-TCODE = 'ME51N' AND SY-UCOMM NE 'MECHECKDOC' ) OR SY-TCODE = 'ME52N'  .
          IF  L_S_EBAN-BSART = 'ZNB'.
            OBJKEY = L_S_EBAN-BANFN.
            SELECT SINGLE * FROM EBAN INTO WA_EBAN WHERE BANFN EQ OBJKEY.
            IF SY-SUBRC NE 0.
              CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
                EXPORTING
                  OBJECT_TYPE             = 'BUS2105'
                  OBJECT_KEY              =  objkey
                  EVENT                   =  'CREATED'
                 COMMIT_WORK             = 'X'
                 EVENT_LANGUAGE          = SY-LANGU
                 LANGUAGE                = SY-LANGU
                 USER                    = SY-UNAME
    *   IFS_XML_CONTAINER       =
    * IMPORTING
    *   RETURN_CODE             =
    *   EVENT_ID                =
    * TABLES
    *   INPUT_CONTAINER         =
    *   MESSAGE_LINES           =
    *   MESSAGE_STRUCT          =
            endif.
          endif.
        endif.
       endmethod.
              I have missed the loop block.That's why the workflow was not triggering.
    Regards,
    S.Suresh

  • Workflow bulider changed ,still the same workflow  triggered for older requ

    On applyig leave request  a workflow is triggered and notification is sent to the
    Manager he approves it
    Everything is fine
    Now I have changed the workflow builder
    That after the approval, a task(Step) has to be performed.so I added a step for that
    Now I have 3 cases
    On applying for leave request the manager has approved and the step is executed after that
    But my problem is now
    There are a few prior requests which wernt approved yet
    On approving them the workflow builder which is called is previous one and not the current one
    And the step is not executed after the approval ,How to resolve the issue
    Please advice
    Thanks in advance

    Hi,
    If your workflow is a Event Based workflow, you can start the new workflow by raising the event manually again using SWUE. For this you need to know BO and triggering event , key of the object for your case.
    If it is not a Event based workflow, you can start workflow by SWUS , providing all the mandatory and required container element values.
    However, before starting you can delete/complete the existing workflow. To delete the existing workitems from user inboxes, you can use SWWL. If you also want to set the status of this workflow instance , then probably you need to execute few FM's to set the status to COMPLETED.
    Hope this helps you !!
    Regards
    Krishna Mohan

  • Which container element contains the triggering event name?

    hi,gurus,
    i have a workflow template, and i want to use a 'switch' to deal with different triggering event inside the template logic.
    but i can not find a element in the container which supposed to contain the triggering event name.
    could you please help me ?
    br.
    zj

    Hello,
    The element which stores the name of triggering event is '_EVT_NAME' which is present in the event container. To use it in the workflow template, you have to create an element in the workflow container and bind this element to the above mentioned element through the binding for triggering event.
    Thus you can use the workflow container element in the switch.
    Hope this will help.
    Regards,
    Samson

  • How to find Workflow triggering code

    Hi...all,
        I am working on a workflow issue, here i am unable to find out the workflow triggering code. Here workflow is triggering through event, i find out that event in basic data.but when i see the event linkages through SWETYPV, i didn't find any custom function modules except SWW_WI_CREATE_VIA_EVENT_IBF. i just want to add some more conditions in the workflow triggering conditions. How can i find out where the code was developed?. Thanks in advance....
    VT

    Hi Jocelyn dart,
    I want to trigger my workflow from transaction FIBLFFP.i am using the BOR BUS2021. it doen't have any events to trigger. so i copied the BOR to custom name space and added the event called posted.and i have delegated successfully.
    In the basic data of the My workflow template i have given the BOR BUS2021 and event POSTED and it is in active mode.
    I have done the setting in SWE2 with new entry and event name and receiver type as WS and FM SWW_WI_CREATE_VIA_EVENT_IBF and it in active mode.
    But I am not getting the mails to inbox.Manullay the worklfow is executing  with all the conditions.
    But I am unable to trigger the workflow from transaction....
    Please  help me....Please...its very urgent..
    regards
    paveee

  • Workflow triggerred twice

    Using BO ADDRESSEMP  change event to trigger the workflow. but the workflow triggerred twice by BO ADDRESSEMP and BO ADDREMPUS the latter one is the subtype of the former one.
    I am curious to know, why this happens. I have checked the related event linkage table , only ADDRESSEMP is maintained, then why ADDREMPUS is faired?

    Hi,
    Normally it's standard behavior for the workflow to be triggered both supertype and subtype, when the triggering event is based on the subtype. And if you want to restrict that behavior you have to use receiver type function module.
    It should work properly if you still use the triggering event based on the supertype. However from your explanation it looks like that you have used supertype event and yet it triggers your subtype.
    Could you please elaborate your issue further?
    Regards,
    Lim...

  • Regarding Workflow condition

    Hello,
    i need help regarding workflow condition..
    When the Owner of the record gets changed to a specific user i want to create a set of tasks automatically created,.. is it possible using workflows, if possible what is the trigger event i have to use and what is the workflow condition.. please help me out its very urgent

    Hi again,
    i have used the following:
    Trigger Event : when modified record saved
    Condition : FieldValue('<Owner>') = "Jenny Adams"
    and created list of actions for creating tasks.. but i think there is problem with condition.. please help me with condition.. i also tried
    [<Owner>]='Jenny Adams'
    [<Owner>]="Jenny Adams"
    FieldValue('<Owner>') = 'Jenny Adams'

  • Regarding workflow settings

    hi all
    i have a simple query that i have created a workflow in sandbox and since a workbench request is generated so workflow is reflecting in other client
    please tell me if i have to show the same workflow in production client do i need to do all the changes in that client like maintainence of table entries which i have used in my rules and methods i have created for the workflow.
    for activating the workflow and event linking etc. all these changes will be maintained in production client itself or there is some other way else.
    regards
    ashish

    hi
    you need not change the settings of the ELM workflow
    you just need to activate it and plcae it as general
    regarding you error
    RFC destination WORKFLOW_LOCAL_010
    just ask your basis guy to maintain this destination in SWU3
    your dump will be resolved
    see these are standard worflows ,you need not change the settings in normal circumstances
    best regards
    ashish

Maybe you are looking for