OIM 11gR2 Approval workflow not getting triggered

I created an approval workflow by following the 11gR2 developer's guide and deployed it. then created an app instance and also an approval policy for operational level which is auto approved and for request level with this composite. when i raise a request for this app instance in the catalog the SOA composite is not getting triggered. I am able to see a task in pending approval of system admin whenever i raise request for any user and if i complete that pending approval the app gets provisioned directly. Also i do not see any request ID also. please help to find out whats going wrong

Now i tried raising a request from another user who is not a member of SYSADMIN role. This time the request id is generated and a task 'Manual Task for Provision operation for Beneficiary X' is generated in pending approvals of xelsysadm user. When completed the app instance gets provisioned. So this means operational level approval task is triggered? and it has auto-provisioning?
why my custom approval workflow is not getting triggered?
I have created 2 approval policies, one for request level which is auto approval and other for operational level where i have selected the deployed composite name.In both the approval policies i have selected the request type as Provision ApplicationInstance. There is no error also while deploying the composite. Am i missing any step? please help.
Edited by: 955932 on Jan 10, 2013 10:19 PM

Similar Messages

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

  • Treasury workflow  not getting triggered .

    I have done all as given in the SAP doc ...
    The release procedure for the business partner has been set up using a Business Workflow, for
    which SAP has defined the standard role 20000053 'TRLOAPPROVAL' and the Workflow
    template WS20000263 'WSTRLOAPPROV'.
    Procedure
    In order to use the release workflow for the business partner, you are also required to make
    settings in Customizing for the Basic Functions area in Treasury in the following IMG activities:
      By choosing u2019Activate Releaseu2019, you can activate the release for the business partner.
      By choosing u2018Maintain and Activate Release Parametersu2019, you can specify the number of
    release steps you require for each role category.
      By choosing 'Adjust/Copy Workflow Template', make the following settings:
      By choosing 'Define Standard Roleu2019, you create the responsibilities for the standard roles
    delivered with the system, to which you assign users, positions, organizational units,
    work centers, jobs, or people. Using the settings you make here, the system determines
    the Responsible Agent [Ext.] during the workflow run.
      By choosing 'Adjust Workflow Template', you then have to activate the event linkage.
    but its not getting triggered ..  the event which is gettting triggered is not the  one whcih is used in the workflow
    Thanks for help .
    Naval Bhatt

    Naval,
    Either you can check SAP notes for the same or you can customize the workflow. If the event being triggered is different then copy the workflow and change the workflow start condition.

  • 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 not getting triggered from Z inbound FM

    Hi
    I have created a simple workflow with start events
    Object Type IDOCAPPL EVENT - INPUTERROROCCURRED
    activated the binding and activate the linkage
    also in the idoc inbdound FM i put workflow_result = 99999 also added the object and the start and end event in process code link
    however the workflow is not getting triggered do i need to trigger it manually using swe_event_create....
    what is the miostake

    Hello,
    Even if the event linkage is configured correctly, you have to trigger an event with the FM swe_event_create to run your workflow.
    You have a transaction SWU0 that can simulate an event => then you can check if your event linkage is correct.
    Please reward if useful.
    René

  • Issue in Production for Workflow not getting Triggered .

    Hi Guys,
    I have a workflow, which is properly triggering in the development and Quality but not getting triggered in the Production. Can't get the Exaact reason because by using T-code PFTC when i test the workflow independantly its working properly and even BOR does not have any problem. Please Help me guys as this is a issue in Production.
    The workflow is a customized one, It getting triggered throught the funtion call in User Exit of MM01.
    Thanks

    It getting triggered throught the funtion call in User Exit of MM01.
    1. I hope the workflow customization is done properly in production system, as you stated that if you are trying to trigger from PFTC then it is working fine, can you please try to Refresh Organizational Environment  from SBWP ---> On MEnu  ---> Settings  --> Workflow Settings  ---> Refresh Organizational Environment and  secondly try to refresh the buffer from txn SWU_OBUF
    2. Make sure the user exit is transported to Production.
    3. Check the workflow log from the txn SWIA  if you have proper authorizations for the userid.

  • Workflow not getting triggered on status change

    Hiii Everyone
    Workflow is not getting triggered whenever I change the status of the Order (Lead).  When we create a lead a workflow is triggered.
    1. If the status is Open a mail is sent.
    2. Then the status is checked for in process. And whenever the  status is changed to inprocess it is assigned to the agent by   the  rule attached to the workflow.
    3. And again when the status is changed to sanctioned a mail is sent.
    Now problem is if I create a lead and change its status to inprocess and then save , then the mail is sent and it is assigned to the agent properly. But when I change the status to sanctioned , then the mail is not sent for sanctioned(i.e. no worklfow step is shown in swel).
    If I open the lead and save it then the mail is sent properly. But then after that when I change the status to inprocess, the workflow is not showing agent assignment (jn swel).
    Summary: Whenever I cahnge the status after saving the order , the workflow is not showing any further step .
    Please suggest the solution.
    Regards
    Shafali

    Hi,
    Your workflow has been triggered when the status is open and then when change the status to in process,it is not sending mail as there is no agent assignment.
    That means, workflow triggered, but it is not going to the next step.
    Is it a standard or custom one?
    Can you post the workflow log screenshot over here?
    Cheers,
    Raja.D

  • Workflow not getting triggered from MM01

    Hi,
    I understand there is a similar post but the solution is not so clear there.
    I wish to trigger a workflow whenever a material is created using tcode MM01.
    For which i am using BUS1001. (In the header data > start events tab > BO/BUS1001/CREATED binding exists and activated)
    whenever i am creating a material using MM01, and check the trace in SWEL i am getting the following info:
    BUS1001006     VIEWCREATED     25.03.2011     13:00:12          @AI@     No receiver entered
    BUS1001006     CREATED     25.03.2011     13:00:12     WS99900237     @5B@     SWW_WI_CREATE_VIA_EVENT_IBF
    Can someone please help where to enter the receiver.
    regards
    abhishek

    Hi sanju,
    I have created the event as per your suggestions but the workflow is not yet triggered from mm01.
    the event stack trace is as follows :-
    BUS1001     CREATED     28.03.2011     08:28:42     WS99900237     @5B@     SWW_WI_CREATE_VIA_EVENT
    BUS1001006     VIEWCREATED     28.03.2011     08:33:03     WS99900237     @5B@     SWW_WI_CREATE_VIA_EVENT_IBF
    BUS1001006     CREATED     28.03.2011     08:33:03     WS99900237     @5B@     SWW_WI_CREATE_VIA_EVENT
    BUS1001     CREATED     28.03.2011     08:33:03     WS99900237     @5B@     SWW_WI_CREATE_VIA_EVENT
    Linkage is activated in SWE2 and the receiver  FM is SWW_WI_CREATE_VIA_EVENT.
    still unable to get the workflow triggered.
    Secondly as per SAP suggestion the BO BUS1001006 should be used for std material master. But while i enter BUS1001006 no such methods are available in F4. (refer atttachment)
    I have checked in the BOR and i see that BUS1001006 is released and active.

  • Workflow not getting triggered

    Hi All,
    We are having issue in Claims and Leave Encashment workflow. From Portal side we are able to create the request successfully with requets numbers being generrated but nothing is triggered in SWI1. Here we are using standard workflow WS18900023 and we have activated the same in SAP.
    Although our Leave and Travel workflows are working fine and getting completed as well.
    When I reregister the UWL system I am getting followowing warning for few tasks,
    WebDynproApplication value not found for task TS18900010 in system SAP_Webdynpro_UWL
    WebDynproApplication value not found for task TS20000118 in system SAP_Webdynpro_UWL
    WebDynproApplication value not found for task TS20000130 in system SAP_Webdynpro_UWL
    WebDynproApplication value not found for task TS20000131 in system SAP_Webdynpro_UWL
    WebDynproApplication value not found for task TS20000135 in system SAP_Webdynpro_UWL
    WebDynproApplication value not found for task TS20000139 in system SAP_Webdynpro_UWL
    WebDynproApplication value not found for task TS20000189 in system SAP_Webdynpro_UWL
    First task is of claims which is not getting trigered and rest of tasks relates to Travel which is working fine.
    We have recently upgraded both HR and Portal systems. Before upgdare all the workflows were working fine.
    HR system is upgraded from release 604 SP 31 to SP 33.
    Portal 7.01 SP3 to SP8.
    I have seached in xmls as well, tasks TS20000118,TS20000131, TS20000135  are there in xml but I am not able to find other task in any of xmls.
    These tasks are present in SWFVISU as well.
    Please advise on this issue, IS the warning the cause of the issue or there is something on workflow side.
    Thanks,
    Honey

    hi,
    use your callback url to trigger events:
    call method cl_swf_ifs_ws_export=>launch_callback
    exporting
    callback_url = lv_url
    http_method = cl_swf_ifs_ws_export=>c_http_method_get
    this will advance your workflow to next step
    grtz,
    Koen

  • Error handling workflow not getting triggered

    Hi all,
    I'm creating a outbound IDoc. And for error handling workflow.. I created a organization structure in PPOME and assigned users. I gave this position number thus created in the partner profile in post processing permitted agent tab.
    But when the Idoc is in error, this is not coming to my inbox.
    Can someone please help me with this.. and let me know what went wrong.
    Thanks in advance.

    Here you need to be careful,
    if the agent assignment is not maintained properly, there may be a chance everyone in the organization will get the item.
    I hope you have created a single workitem for error handling. goto additional data-> agent assignment-> maintain. make sure the attribute is defined as general forwarding allowed. or you maintain the role/position/user/whatever.as the possible agents. still you dont get the result, debugging the default rule in the task ->default rule -> agent.
    hope this helps.
    with regards,
    Sudhahar R

  • SC approval workflow not triggered..

    Hello All,
    I have a SC created in EBP which is in status 'awaiting approval'. But there is not active workflow running in the system.
    I also checked if there is any event in error in event queue broswer. But I dont see any event in error.
    What could be the reason for workflow not getting triggered in this case?
    Thanks and regards,
    Vithal

    Hello,
    Check the start conditions for workflow in question via SWB_COND. If everything is fine, perform a consistent check using SWUD.
    Also, check the default currency maintained in start condition as well as if the start condition depends on the currency. If so, its value should be explicit within start condition expression.
    Kind regards,
    Ricardo

  • Enable User task is not getting triggered

    Hi All
    We have a provisioning workflow configured. "Enable User" task is not getting triggered while the user is enabled in OIM. Can anyone give a clue as to how to get it triggerd? Rest all the tasks are fine (Create, Disable, Delete, and other custom tasks)
    Thanks,
    Vinay

    There is a OOTB scheduled Task "Enable After Start Date". once the user get enabled in OIM user profile. You have to run this task manually to have effect on corresponding RO for enablement. Else it will execute automatically as per scheduled time.
    if the version of OIM is 11.1.1.5. There is an issue. update patch BP02. for same
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • OIM 11g Approval Workflow - Error

    Hi All,
    I have created a approval workflow (Operational) in OIM11g. Have deployed it as a soa-composite and registered with OIM. Till here everything went fine.
    I have created an apporval policy, to assign to requests of a specific type of resource .
    When the resource is requested, the approval workflows is gettign triggered,but the request goes to failed state.
    I am getting any exceptions in the logs / on the console.
    Has anyone encountered this kind of issue.
    Vicky

    vicky wrote:
    Hi All,
    I have created a approval workflow (Operational) in OIM11g. Have deployed it as a soa-composite and registered with OIM. Till here everything went fine.
    I have created an apporval policy, to assign to requests of a specific type of resource .
    When the resource is requested, the approval workflows is gettign triggered,but the request goes to failed state.
    I am getting any exceptions in the logs / on the console.
    Has anyone encountered this kind of issue.
    VickyCheck your SOA server through the em and that should show you your request and the fault states and everything .. that should give you an idea on what is going wrong ...

  • Events in USER objects type not getting triggered in PFCG

    Hi,
    We need to send some notifications to the concern person at the time of assiging roles to the user . There is an object type USER and has events like created,cloned, deleted, roles_changed. But these events not getting triggered.
    I need to trigger the workflow. How do we activate the events as the entry doesnot exits in SWE2 tooo . Is ther any other way?

    HI munish
    If the entry is not in swe2 Put the entry for the business object USER and use the receiver type as your workflow number.
    Regards
    vijay

  • User Exit not getting triggered

    Dear all,
    we are creating a workflow for PR Release which needed release strategy customization. so we are trying to set the release stratagy by changing the communciation structure CEBAN-USRC1 field.
    for this, i had done the following things:
    1. SMOD->M06B0005->components->EXIT_SAPLEBND_004->INCLUDE ZXM06U31 (double clicked) wrote few lines of code.
    2. CMOD-> created a proj ZMM_PREL->assigned Enhancement M06B0005 under enhancements tab-> EXIT_SAPLEBND_004-> activated all
    (User exit, project eveything).
    Now my problem is when i create a PR, this user exit does not get triggered at all. I am working on ECC6.0 the same code which i did in Ecc5.0 for my previous client is still working fine.
    Can anyone please guide me where i might have gone wrong?
    Thank you,
    Regards,
    Lakshmi

    Hi,
    HAve u verifiyed that the user-exit u r using is triggered whenever u create ou PR.?
    First of all u have to put breakpoints at each and every user-exits provided for that transaction, then check which user exit is getting triggered when u carete ur PR. and thenafter write ur code in this user-exit only.
    Reward is useful.
    Regards,
    Harsha

Maybe you are looking for

  • How to trace an 'order by' issue?

    I'm working with Report Builder 6.0.8.25.0. I have a report that prints lines on a quote. The report is supposed to order by the line_id in one of the tables involved. The problem is that sometimes it sorts in ascending and sometimes in descending or

  • I need Help!!! Need to remove file from my project that I can't find

    I'm on an extremely tight deadline and am trying to make a test DVD to show to client and am getting a strange message that takes me to a dead-end. When I try to export using Quicktime Conversion, I get a message saying: "The movie file "...FIN-00000

  • B/W G3 will not boot past the startup screen

    It boots all the way through to the last step - "Login Window Startup". It will not boot in Safe Mode, PRAM reset, etc. No Joy. It has sat and spun the colored wheel of death for hours. Any suggestions?

  • GetString returning 0.0

    How do I solve the problem with ResultString.getString returning 0.0 instead of 0. I retrieve data from a column of type number(10). Rickard Eneroth WM-data [email protected] null

  • Total Number of Pages with page exception

    Hi all, Currently a have a form that requires a page number to start on the second page. I've done this via DAL script #PCOUNT +=1; return(#PCOUNT); The problem now lies in the total number of pages. Is there a way for me to get the total number of p