Tigger to invoke workflow

Hello All,
I need to create 2 simple workflows.
when ever a new user is created in oracle applications then a notification shoud go to the sysadmin.
So we can create a simple workflow.But my question how do we invoke the workflow process.
Do we need to modify the standard form or can we write a trigger on the table fnd_user and call the workflow process or there is any standard event by which we can inoke the process.
Similary suppose an employee is end dated by some user then also a notification should go to sysadmin. Even how do we invoke the custom work flow which we develpoed do we any standard event.
Also please let us know whether can we invoke a workfow process by submitting a concurrent program.
Please let me know the best posssible way.
Kind Regards,
Kumar.

The seeded WF Business Events System (BES) already has these two events defined - I believe all that is necessary is to register your custom code whenever these two events occur. Unfortunately, there is very little documentation on BES, see if these docs help
MOS Doc 204203.1 - How To Subscribe To Rule Function Hz_Event_Elt.Hz_Param_Delete
MOS Doc 552052.1 - Are There Standard Bes Events Associated Within Tca To Capture Customer Updates?
WF Developer Guide - Chapter 8 - http://download.oracle.com/docs/cd/B53825_01/current/acrobat/121wfdg.pdf
HTH
Srini

Similar Messages

  • How to invoke Workflow and UWL through Webdynpro for Java

    Hi,
    In my Development Component there are three applications .The requirement is that the data will flow between one application to another only through workflow in
    UWL.
    Can anybody help me out as to how to invoke workflow programatically from Webdynpro for Java .
    After data goes from one application to workflow UWL, how the second application will work on it . If possible please send me the links of some tutorials .
    I searched in Webdynpro Tutorials site but there are no tutorials available there .
    Thanks a lot .

    Hi,
    Check the following Threads,U will get lot of details......
    WebDynpro application that can work with SAP workflow work items?
    /thread/142477 [original link is broken]
    Configuring UWL with WebDynpro
    /people/niharika.jeena/blog/2006/06/06/launching-webdynpro-from-universal-worklist
    Sample Application,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/how%20to%20configure%20the%20universal%20worklist.pdf

  • Invoke workflow through Custom.pll

    All,
    We have a requirement to invoke Workflow process for every service request create / update and I am calling the wf like below in custom.pll
    WHEN-VALIDATE-RECORD
    XXPPS_CRM_WF_PROCESS.XXPPS_WF_LAUNCH (                                     08291302      ,                                     'REFUND-PROCESS'    ,                                     'CRM QA'       ,                                     P_RETURN_MESG );
    I am getting below error
    FRM-40735 WHEN-VALIDATE-RECORD trigger raised unhandled exception ORA-20002 Does anyone has any idea ?? Can we launch the workflow through Custom.pll ?? Please advise...

    This forum is for general Oracle Forms questions.  Please post your question in the EBS General Discussion forum.  If you have a general Forms question, by all means, ask it here!
    Craig...

  • Re: Informatica Batch Web Service Invoke Workflow

    Hi All, This is known issue and had been mentioned in knowledge based id 301904.  Thanks.ChitWooi

    Hi All, Currently I am working on invoke workflow from the Informatica Batch Web Service.May I know how to execute the operation WaitTillWorkflowComplete as I keep getting error as shown below: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">   <soapenv:Body>      <soapenv:Fault>         <faultcode>Client</faultcode>         <faultstring/>         <detail>            <ns1:WSHFaultDetails xmlns:ns1="http://www.informatica.com/wsh">               <ErrorCode>LMWSH_95216</ErrorCode>               <ExtendedDetails/>            </ns1:WSHFaultDetails>         </detail>      </soapenv:Fault>   </soapenv:Body></soapenv:Envelope> Can anyone show example on how to execute this operation?Or any link that have example on this will do. Besides that, is it possible to assign workflow variable during invoke workflow by using operation startWorkflow? Thanks. Regards,ChitWooi

  • Error while invoking WorkFlow thru a link

    All,
    I have created a link which shows up on END USER HOME PAGE, this link in turn has to invoke the Update user workflow. When i click on that link...i get this ERROR :-
    View access denied to Subject xxxx on TaskDefinition: Workflow-UpdateUser.
    I tried changing authType to ' ENDUSERTASK ' , 'USERADMINTASK' and also 'ENDUSERRULE'
    But Still the error shows up...
    any suggestions?
    Edited by: neeraj_shah on Nov 2, 2007 12:14 PM
    Edited by: neeraj_shah on Nov 2, 2007 12:15 PM

    Hi Neeraj,
    Add ur w/f in Configuration, #ID#CONFIGURATION:ENDUSERTASKS object.
    Thanx
    Shant

  • Invoke Workflow from Web Dynpro for Java Application

    I am working on a custom web dynpro for java application and when the user clicks the submit button the SAP standard workflow (WS50000041) should be invoked. Does anyone have experience they can share with me on how to achieve this functionality? It should also be able to attach an adobe form or read data from the form and submit the data as xml.
    Thanks,
    Ashley

    Hi Ashley,
    Use following code in RFC to invoke your workflow -
    DATA : w_subrc TYPE sy-subrc,
                w_wi_id LIKE swwwihead-wi_id.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
            EXPORTING
              task                      = ' WORKFLOW - WSxxxxxx '
              language                  = sy-langu
              do_commit                 = 'X'
            IMPORTING
              return_code               = w_subrc
              workitem_id               = w_wi_id
            TABLES
              input_container           = it_container
              message_lines             = lv_swr_messag
          COMMIT WORK.
    With this code your workflow will get start. But u have to use workflow id in next application also in which your request is getting navigated. In that application you have to take this workflow ID and have to pass again in workflow using - PortalNavigation statements.
    After that this workflow will get start to publish in your TaskList (My Task) in Portal. Remeber that your all task should be maintained in workflow table by using SWFVISU  transaction.
    After that go to Portal and Re-Register your UWL so that your new Workflow ID will get usable in portal.
    With this way you would be able to use workflow with Web Dynpro Java using UWL and Workflow.
    Regards,
    Roshan Gupta

  • Error FND_WF_IN_PROGRESS_FOR_TXN while invoking workflow via OA Framework

    Hello,
    I am invoking a workflow from OA Framework page.
    Basically I am creating an entity and at the end of the entity creation, I am triggering workflow for its approval. It works first time and now I create a new entity and
    try to trigger approval, I get this error.
    Error MESSAGE_NAME is FND_WF_IN_PROGRESS_FOR_TXN and Text is (from FND_NEW_MESSAGES table)
    Workflow with item type (&ITEMTYPE) and item key (&ITEMKEY) is in progress. Abort existing workflow before launching a new process for this transaction.
    For some reason, exception shows item key, of the workflow which got successfully triggered earlier.
    So second time, when I try to trigger workflow Item key used is Item key: XXIFMS_NO_100072
    but exception is for previous key
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_WF_IN_PROGRESS_FOR_TXN. Tokens: ITEMTYPE = XXIFMSSA; ITEMKEY = XXIFMS_NO_100071; at oracle.apps.fnd.framework.webui.OANavigation.initialize(OANavigation.java:233) at oracle.apps.fnd.framework.webui.OANavigation.createProcess
    Here is my code to generate, item key (based on a sequence)
    String serialNumber = "XXIFMS_NO_";
    String wfItemKey = serialNumber + tr.getSequenceValue("POR_REQ_NUMBER_S").toString();Error seems to suggest that within one transaction only one workflow can be launched.
    Is there a way to explicitly start a new transaction using AM?
    regards, Yora

    The error comes from the initialize method in the OANavigation class. You can either extend the class and override any needed methods, or add code to the AM to set up the Workflow context so that you can use the API w/o the Oracle Applications wrapper. It looks like the Wrapper was made available mainly for using WF for the pages in OA framework.
    Instead of creating a new class, I added the code to my application module. Afterwards I can submit multiple workflows. An overview of what I did is:
    1. Add required imports to AMimpl
    2. Add two methods to AMimpl: setUpWF, releaseWFJdbcConnection, submitToWorkflow
    3. Call the methods to submit to workflow in the apply method before calling the commit method.
    4. Call the apply method as normal from the controller.
    AM IMPL --->
    import java.text.SimpleDateFormat;
    import java.math.BigDecimal;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.fnd.wf.WFContext;
    import oracle.apps.fnd.wf.engine.WFEngineAPI;
    import oracle.apps.fnd.wf.WFDB;
    import oracle.apps.fnd.common.AppsContext;
    import java.sql.Connection;
    public void apply()
    OADBTransactionImpl txn = null;
    //Now we need to save the new attrs to the database.
    try
    txn = ((OADBTransactionImpl)this.getTransaction());
    EntryVOImpl vo = getEntryVO1();
    this.setUpWF(txn);
    Row[] rows = vo.getAllRowsInRange();
    for (int i = 0; i < rows.length; i++)
    String requestID = rows.getAttribute("RecordId").toString();
    if (requestID.equals(null))
    throw new OAException ("No record ID available for line " + String.valueOf(i) + ". Skipping...");
    }//if
    if (rows[i].getAttribute("LineStatus").toString().equals("In Process"))
    System.out.println("Record for line " + String.valueOf(i) + " is in process. Skipping...");
    }//if
    else
    String[] workflowValues = submitToWorkflow(requestID);
    //Now Assign he workflow values to the attributes.
    rows[i].setAttribute("WfItemType", workflowValues[0]);
    rows[i].setAttribute("WfItemKey", workflowValues[1]);
    }//else
    }//for
    }//try
    catch (Exception e)
    throw new OAException("Error submitting to New Demand Workflow: "+e.getMessage());
    finally
    releaseWFJdbcConnection(txn);
    try
    this.getTransaction().commit();
    }//try
    catch (Exception e)
    System.out.println("Error saving demand request data; " + e.getMessage());
    e.printStackTrace();
    throw new OAException("Error saving demand request data; " + e.getMessage());
    }//catch
    }//apply
    private String[] submitToWorkflow(String recordID)
    String [] returnValues = {"", ""};
    try
    String wfItemType = this.getWFItemType();
    String wfProcess = this.getWFProcess();
    java.util.Date currentDate = new java.util.Date();
    SimpleDateFormat formatter = new SimpleDateFormat("MMddyyyyHHmmss");
    String wfItemKey = recordID + ":" + formatter.format(currentDate); /*Concat the header and the date string from current record*/
    OADBTransactionImpl txn = ((OADBTransactionImpl)this.getTransaction());
    WFContext ctx = null;
    ctx = (WFContext)txn.findObject("wfContext");
    if (ctx == null)
    throw new OAException ("Transaction Context is Null!!");
    System.out.println("\n\n\tAttempting to Submit to workflow: " + wfItemKey + "...");
    BigDecimal recordIDBD = new BigDecimal(recordID);
    //Call Workflow
    WFEngineAPI.createProcess((WFContext)txn.findObject("wfContext"), wfItemType, wfItemKey, wfProcess );
    System.out.println("1");
    WFEngineAPI.setItemOwner((WFContext)txn.findObject("wfContext"), wfItemType, wfItemKey, txn.getUserName());
    //System.out.println("2");
    WFEngineAPI.setItemAttrNumber((WFContext)txn.findObject("wfContext"), wfItemType, wfItemKey, "XXAAI_RECORD_ID", recordIDBD);
    System.out.println("3");
    WFEngineAPI.startProcess((WFContext)txn.findObject("wfContext"), wfItemType, wfItemKey);
    System.out.println("4");
    returnValues[0] = wfItemType;
    returnValues[1] = wfItemKey;
    return returnValues;
    }//try
    catch (OAException oe)
    System.out.println("OA Framework Error launching workflow: " + oe.getMessage());
    throw oe;
    }//catch
    catch (Exception e)
    System.out.println("Error launching workflow: " + e.getMessage());
    e.printStackTrace();
    throw new OAException (e.getMessage());
    }//submitToWorkflow
    private void releaseWFJdbcConnection(OADBTransactionImpl oadbtransactionimpl)
    AppsContext appscontext = oadbtransactionimpl.getAppsContext();
    WFContext wfcontext = (WFContext)oadbtransactionimpl.findObject("wfContext");
    Connection connection = wfcontext.getJDBCConnection();
    if(connection != null)
    appscontext.releaseExtraJDBCConnection(connection);
    wfcontext.setJDBCConnection(null);
    }//releaseWFJdbcConnection
    private void setUpWF (OADBTransactionImpl txn)
    try
    WFDB wfdb = new WFDB();
    AppsContext appsContext = txn.getAppsContext();
    String enc = appsContext.getCurrLangCode();
    if(enc == null)
    enc = "US";
    }//if
    String s1 = enc.substring(enc.indexOf('.') + 1);
    wfSessionID = appsContext.getSessionId();
    Connection connection = appsContext.getExtraJDBCConnection(wfdb, appsContext.getSessionId());
    wfdb.setConnection(connection);
    WFContext wfcontext = new WFContext(wfdb, s1);
    txn.registerObject("wfContext", wfcontext);
    catch(Exception exception)
    this.releaseWFJdbcConnection(txn);
    throw new OAException("Error getting workflow context: " + exception.getMessage());
    }//catch
    }//setUpWF
    Oracle is removing some text. For instance areas with [i] are being removed. If reposting does not fix the issue, then note in the example code you need to recompile and you may need to add the array indexes manually.
    ***** NOte Oracle's Editor is remvoing text from the code I posted. I don't have time to troubleshoot this. The ARRAY Indicators are being removed. Make sure you compile and manually put back the ARRAY INDEXES as needed in the sample code.*****************

  • Invoking workflow multiple times - Error

    Hi,
    We have developed a workflow which reads the list of users from a database table and creates as many worklists(There are around 100 users).
    Workflow starts when a user submits a blank form. On submit, the workflow reads a list of users from database and invokes the workflow that many times (around 100) to send the forms to each users worklist.
    Our problem is that this is working fine for 70-80 users (i.e. it sends form to around 80 users). But beyond this it errors out showing the following exception. Please help.
    Error Log
    2007-07-16 01:01:53,521 WARN [org.jboss.tm.TransactionImpl] Transaction TransactionImpl:XidImpl [FormatId=257, GlobalId=DOCSERV2//777926, BranchQual=] timed out. status=STATUS_ACTIVE
    2007-07-16 01:01:53,521 WARN [org.jboss.tm.TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=DOCSERV2//881954, BranchQual=] errorCode=XAER_RMERR
    org.jboss.mq.SpyXAException: - nested throwable: (org.jboss.mq.SpyJMSException: Cannot process a transaction; - nested throwable: (java.lang.InterruptedException))
    at org.jboss.mq.SpyXAResource.commit(SpyXAResource.java:88)
    at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1656)
    at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:375)
    at org.jboss.tm.TxManager.commit(TxManager.java:142)
    at org.jboss.ejb.EnterpriseContext$UserTransactionImpl.commit(EnterpriseContext.java:477)
    at com.adobe.workflow.engine.ProcessEngineBMTBean.processMsgContext(ProcessEngineBMTBean.jav a:2941)
    at com.adobe.workflow.engine.ProcessEngineBMTBean.invoke(ProcessEngineBMTBean.java:1054)
    at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:683)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:185)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 44)
    at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:72)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
    at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331 )
    at org.jboss.ejb.Container.invoke(Container.java:723)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
    at $Proxy302.invoke(Unknown Source)
    at com.adobe.workflow.manager.ProcessManagerRemoteBean.invoke(ProcessManagerRemoteBean.java: 611)
    at sun.reflect.GeneratedMethodAccessor296.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:683)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:185)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:72)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.j

    Hi Rachana,
    Another way you could acheive this is to use start conditions for your workflow. You could specify that your workflow should get triggered only for release codes = XX or release strategy = XX, etc.. This way even after 1 stage of approval, when the approver clicks on SAVE, the release codes change and because there is start conditions in the workflow that would prevent another instance of the workflow from getting triggered.
    For example, in your case, I presume PO, P1, P2, etc are your release codes.
    You can have a start condition in your workflow wherein you specify that the workflow should get only triggered for release code = P2 [assuming release code P2 is always the 1st stage of approval]. So, once the approver for P2 has completed and Saved, since there is a start condition, there wouldnt be any other workflow instance started. By this way, any stages of approval wouldnt cause another workflow to initiate.
    Hope this is what you have been looking for ?
    Satish

  • Procedure to Call Workflow Object from ABAP program in Se38

    Hi All,
    I have one scenario like i have to call one Workflow object from ABAP program in SE38.The scenario is like below.....
    I have to select some records from database table.For example there are 100 records in the internal table.
    For all that records i have to invoke Workflow for getting approval from the authorized persons. Once Approval has come to program, It will post one document in SAP and process ends.
    Please suggest me how to move forward with this scenario.
    Regards
    Manas Ranjan Panda

    Hi,
    So you want to start a workflow from an ABAP, if an event exists for that particular workflow then the best way is to use fm SAP_WAPI_CREATE_EVENT,
    to start a workflow from an ABAP you can use fm SAP_WAPI_START_WORKFLOW.
    Kind regards, Rob Dielemans

  • Launch workflow through Custom.pll

    All,
    We have a requirement to invoke Workflow process for every service request create / update and I am calling the wf like below in custom.pll
    WHEN-VALIDATE-RECORD
    XXPPS_CRM_WF_PROCESS.XXPPS_WF_LAUNCH (                                     08291302      ,                                     'REFUND-PROCESS'    ,                                     'CRM QA'       ,                                     P_RETURN_MESG );
    I am getting below error
    FRM-40735 WHEN-VALIDATE-RECORD trigger raised unhandled exception ORA-20002 Does anyone has any idea ?? Can we launch the workflow through Custom.pll ?? Please advise...

    This forum is for general Oracle Forms questions.  Please post your question in the EBS General Discussion forum.  If you have a general Forms question, by all means, ask it here!
    Craig...

  • ESS workflow customization

    One small info required generally about these ESS workflows.
    Are the ESS workflow templates  different from the standard R/3 workflow given for HR module. Does the transaction data store temporarliy in some tables especially maintained for ESS before getting stored in R/3 standard HR tables.
    If we create a event in a BOR object how can we trigger it from any standard transactions, is there any fm we can include in the sourcecode to trigger event so as to invoke workflows dependent on event.
    Please do help me.
    --Vivek

    Thanks for you very helpful link..really i was searching somuch for these tasks in SAP and am feeling more happy to see a very hepful link for me.
    Could you please help on the second part of the question of ---how to trigger event if we create a new event in the BOR object. how muhc work is involved.

  • SSHR Workflow OAF question

    I was unable to find code related to Workflow (create or start processes or any code related to wf in seeded OAF pages supplied) .I know for sure that workflow is attached to this I looked all over in decompiled version of code could not find it.
    I would like to know how they are invoking Workflow?
    If I have my custom workflow built do I have to call wf functions in every page to change the status of the workflow?( view, update page, review, submit page?)
    I looked in this forums, could not find any related topic.
    thanks for your HELP.

    Well, I guess this is something which you need to analyze more :) If you believe that the OAF page has WF code, then you should be able to see its handling, related objects in about this page link. It might be the scenario that a generic function might be calling the wrapper package which in turn after page processing ,calls the WF related code.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Repeating Job:pass repeating start time to Workflow

    Hi all, We created a workflow process manager repeating job to invoke workflow for data update, but sometime the workflow process manager stopped working, and the job was queued.
    Then next day we restart the workflow process manager, it recovered, and the repleating start to run again.
    But the thing is we set this job run every 1 hour to update recent one hour records.
    Since it passed one day, the actual start time is next day, but not the repeating start time. Then we get many data not updated, and we have to go back manually update them.
    Hence, my question whether there is a way we can pass the repeating start date to workflow, then it will auto-cover all the miss data when process back online.
    Thanks, Kent

    Hi Kent,
    As per my understanding it is not possible to pass on the repeating start date value, but as an alternate, you can store the last ran date value in a file or table and access it accordingly.
    Thanks,
    Arjesh
    Was our answer helpful?
    If yes, would you be so kind to mark the reply as correct or helpful. This will help others that may have the same issue easily find a resolution.

  • DAC task failure: SIL_PositionDimensionHierarchy_AsIsUpdate_Full

    Hi,
    The Incremental DAC load failed yesterday night for two workflows:
    SIL_PositionDimensionHierarchy_AsIsUpdate
    SIL_PositionDimensionHierarchy_AsIsUpdate_Full
    The workflows belong to the Out-Of-Box Container SIL_Vert.
    The workflows populate zero records on other regular days, but this is for the first time it resulted in an error during DAC load.
    The DAC log doesn't show any detectable error message with the root cause information. But since there were many dependent tasks running on top of it, they all got stopped and henceforth resulting in the DAC failure.
    ###########################DAC LOG######################################
    =====================================
    STD OUTPUT
    =====================================
    Informatica(r) PMCMD, version [8.6.1 HotFix10], build [412.0123], Windows 32-bit
    Copyright (c) Informatica Corporation 1994 - 2010
    All Rights Reserved.
    Invoked at Fri Jan 28 02:15:04 2011
    Connected to Integration Service: [Integration_Service_SAMPGHSBL112].
    Integration Service status: [Running]
    Integration Service startup time: [Sat Dec 04 18:52:14 2010]
    Integration Service current time: [Fri Jan 28 02:15:04 2011]
    Folder: [SIL_Vert]
    Workflow: [SIL_PositionDimensionHierarchy_Type1Update] version [1].
    Workflow run status: [Terminated unexpectedly]
    Workflow run error code: [0]
    Workflow run id [46743].
    Start time: [Fri Jan 28 02:14:43 2011]
    End time: [Fri Jan 28 02:14:48 2011]
    Workflow log file: [G:\Informatica\PowerCenter8.6.1\server\infa_shared\WorkflowLogs\SIL_PositionDimensionHierarchy_Type1Update.log]
    Workflow run type: [User request]
    Run workflow as user: [Administrator]
    Run workflow with Impersonated OSProfile in domain: []
    Integration Service: [Integration_Service_SAMPGHSBL112]
    Disconnecting from Integration Service
    Completed at Fri Jan 28 02:15:04 2011
    =====================================
    ERROR OUTPUT
    =====================================
    Error Message : Unable to get Informatica workflow return code. Check Informatica workflow/session logs.
    ErrorCode : -1
    Re-Queue to attempt to run again or attach to running workflow
    if Execution Plan is still running or re-submit Execution Plan to execute the workflow.
    EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.IrrecoverableException
    com.siebel.analytics.etl.etltask.InformaticaTask.doExecute(InformaticaTask.java:179)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:410)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:306)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:213)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:585)
    com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    java.util.concurrent.FutureTask.run(FutureTask.java:138)
    java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    java.util.concurrent.FutureTask.run(FutureTask.java:138)
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    java.lang.Thread.run(Thread.java:619)
    12972 SEVERE Fri Jan 28 02:15:05 EST 2011
    ANOMALY INFO::: Error while executing task Informatica Session Batch
    MESSAGE:::Submitted task failed during execution
    EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.FailedTaskException
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.submitIncompleteTasks(ParallelTaskBatch.java:251)
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.doExecuteNormal(ParallelTaskBatch.java:360)
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.doExecute(ParallelTaskBatch.java:164)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:410)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:306)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:213)
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.doExecuteNormal(ParallelTaskBatch.java:326)
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.doExecute(ParallelTaskBatch.java:164)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:410)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:306)
    com.siebel.etl.engine.core.Session.executeTasks(Session.java:2697)
    com.siebel.etl.engine.core.Session.run(Session.java:3246)
    java.lang.Thread.run(Thread.java:619)
    12973 SEVERE Fri Jan 28 02:15:05 EST 2011
    ANOMALY INFO::: Error while executing : com.siebel.analytics.etl.etltask.ParallelTaskBatch:Informatica Session Batch
    MESSAGE:::com.siebel.analytics.etl.etltask.FailedTaskException: Submitted task failed during execution
    EXCEPTION CLASS::: java.lang.RuntimeException
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:469)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:306)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:213)
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.doExecuteNormal(ParallelTaskBatch.java:326)
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.doExecute(ParallelTaskBatch.java:164)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:410)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:306)
    com.siebel.etl.engine.core.Session.executeTasks(Session.java:2697)
    com.siebel.etl.engine.core.Session.run(Session.java:3246)
    java.lang.Thread.run(Thread.java:619)
    ::: CAUSE :::
    MESSAGE:::Submitted task failed during execution
    EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.FailedTaskException
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.submitIncompleteTasks(ParallelTaskBatch.java:251)
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.doExecuteNormal(ParallelTaskBatch.java:360)
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.doExecute(ParallelTaskBatch.java:164)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:410)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:306)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:213)
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.doExecuteNormal(ParallelTaskBatch.java:326)
    com.siebel.analytics.etl.etltask.ParallelTaskBatch.doExecute(ParallelTaskBatch.java:164)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:410)
    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:306)
    com.siebel.etl.engine.core.Session.executeTasks(Session.java:2697)
    com.siebel.etl.engine.core.Session.run(Session.java:3246)
    java.lang.Thread.run(Thread.java:619)
    12974 SEVERE Fri Jan 28 02:15:05 EST 2011
    ANOMALY INFO::: Error while executing task All Task Batches
    MESSAGE:::Execution of child batch Informatica Session Batch failed.
    EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.FailedTaskException
    #######################END OF DAC LOG#################################
    After the first fail of the DAC load due, I marked the task as completed and restarted the Execution Plan again; the load failed again due to the second workflow mentioned above. I repeated the same steps and this time, it ran till the end to complete the load process.
    The Informatica Log file for the particular workflow shows:
    Message: Use override value [DATAWAREHOUSE.DATAWAREHOUSE.SIL_Vert.SIL_PositionDimensionHierarchy_AsIsUpdate.log] for session parameter:[$PMSessionLogFile].
    Please suggest us if we can bypass the above mentioned tasks and we can exclude the same from our current Execution Profiles. If the dependencies on these tasks create issues, how do we modulate the same for successful DAC loads going forward. Also please specify the significance of these particular workflows.
    Thanks-
    Ramaswamy Pappula
    Ph: 412-320-6796

    Hi gs,
    This is database dependent command
    depending on conncetion type @DAC_SOURCE_DBTYPE
    which DAC reads when you define Source database type in Physical datasources,
    By default it will invoke the informatica workflkow SIL_PositionDimensionHierarchy_AsIsUpdate_ORCL
    however if your
    source is DB2 it will invoke workflow: SIL_PositionDimensionHierarchy_AsIsUpdate_DB2
    source is mSSQL it will invoke workflow: SIL_PositionDimensionHierarchy_AsIsUpdate_MSSQL
    source is Teradata it will invoke workflow: SIL_PositionDimensionHierarchy_AsIsUpdate_TD
    Let me know if this helps.
    Thanks,
    Ani

  • Sales Invoice........creation

    Hi All
    Actually I am developing a sales Invoice, I have designed it on smartforms. Now I need to write the print program. I am not able to understand where actually this sales Invoice would be triggerd so that it can be printed.
    In VF01, when I enter the Sales Document number and click save it creates a invoice number.
    Does any body know how it works, when the Invoice number is generated it should print the Sales Invoice.
    Please guide
    regards
    AJ

    Hi!
    You can try to setup output control for billing document:
    - define your own access sequence or expand existing one with one more access based on KOMKBV3-TRTYP field (transaction type)
    - assign access sequence to corresponding output type
    - maintain condition records for corresponding output type with transaction type "V" - Change
    - setup processing routines for corresponding output type. Here it is medium "T" - Tasks (SAP Business Workflow). I didn't try myself to invoke workflow in such a way but it seems this stays for such purposes. Even if not you can try medium "8" - Special function and link your custom program which triggers workflow execution.
    This settings will lead to triggering output control whenever billing document is changed or created (this works for standard print medium for me) and invoke workflow execution (almost sure).
    Regards,
    Maxim.

Maybe you are looking for

  • BADi not getting triggered

    Hello Everybody, I am using the transaction MILL_CUT_LBA. In that I am trying to assign internal number ranges. In the FM VB_NEXT_BATCH_NUMBER a BADi is being called. The BADi name is BADI_BATCH_NUMBER_INT. But I see an exception there saying the BAD

  • Need advice about upgrades

    I just bought my daughter a mbp for graduation. It is a mid 2012 15.4", 4GB, 500 GB HHD i7 2.3 GHz. She is going to use it for college and she is starting a side gig doing photograpy for extra money while in college. After I bought it I was doing som

  • JAAS client access instead of JNDI

    Hi, I'm exploring using the JAAS client access instead of JNDI access on WL7. The Docs say I have to write a LoginModule. However, the following appears to work too (and of course, I'm not using a LoginModule):      Environment env = new Environment(

  • Iphone 4S - erreur de localisation

    Bonjour, depuis hier, mon Iphone se géolocalise en Chine (je me trouve en Belgique, Bruxelles). J'ai redémarrer l'Iphone.... pas de changement, il me localise bien au début, ensuite changement de localisation (et de fuseau horraire).

  • Know the created info objects which are used in which info providers.

    Hi Experts, How can we know the zinfo objects which are used in which info providers.