Obtaining BPEL activity duration instead of timestamp

Hi,
I've created activity sensors relevant to the scopes in the BPEL process. The evaluation time is set to 'All'. The attached sensor action publishes instanceId and the activity duration obtained from the XPath expression 'actionData/payload/activityData/duration'. This doesn't seem to be upserting any data to the Dataobject.
Related to this, I'd like to know if the evaluation time property should be changed from 'All' to 'Completion' since I've noticed this in the FAQs for quite some time. I've got another query regarding the usage of the duration node. Will the duration node suffice, or should I go back to using the timestamp value and then calculating duration from the timestamps ?
Regards,
Vineet
PS: I'm running BAM 10.1.3 and BPEL Server 10.1.3

Well, that's what I do at the moment. I had a feeling that this might have been rectified, since this could result in an accidental increase in the number of fields in the data object. Adding the nature of production data to be highly de-normalized, I wonder whether this might be a good thing at all.

Similar Messages

  • Java Embedding BPEL activity connecting to UCM Stellent

    Hi..
    Im trying to connect UCM (Stellent) through Java embedding BPEL activity. The code as shown below.
    ****java embed in BPEL*******
    SearchImpl searcont = new SearchImpl();
    Element ssn = (Element)getVariableData("inputVariable","payload","/client:BPELContentProcessRequest/client:input");
    int resultlen = searcont.StellentImpl(ssn.getFirstChild().getNodeValue());
    addAuditTrailEntry("Result Count is : " + resultlen);
    System.out.println("Executing SearchImpl in BPEL: result count is: " + resultlen);
    setVariableData("outputVariable", "payload","/client:BPELContentProcessResponse/client:result", new Integer(resultlen));
    ****java embed in BPEL*******
    We are using SOAP wsdls of Stellent to get content information. As such here we are using Search.wsdl and converted to web proxies and thereby import them in Java codes.
    When we deploy the BPEL process in SOA server we get the follwoing error in the Audit trail.
    2009/01/05 18:41:36 "{http://schemas.oracle.com/bpel/extension}runtimeFault" has been thrown.less
    -<runtimeFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="code">
    <code>java.lang.NullPointerException
    </code>
    </part>
    -<part name="summary">
    <summary>null
    </summary>
    </part>
    -<part name="detail">
    <detail>[Ljava.lang.StackTraceElement;@10df2d6
    </detail>
    </part>
    </runtimeFault>
    On checking the server logs it seems that its unable to instantiate the SearchSoapClient in the web proxy(Search.wsdl).
    09/01/05 15:46:53 cannot locate service implementation class for service: search.proxy.runtime.Search_Impl
    *09/01/05 15:46:53 at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:105)*
    **09/01/05 15:46:53 at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)**
    **09/01/05 15:46:53 at search.proxy.SearchSoapClient.<init>(SearchSoapClient.java:18)**
    **09/01/05 15:46:53 at com.dso.content.SearchImpl.StellentImpl(SearchImpl.java:19)*09/01/05 15:46:53 at bpel.bpelcontent.ExecLetBxExe6.execute(ExecLetBxExe6.java:88)*09/01/05 15:46:53 at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__executeStatements(BPELXExecWMP.java:49)
    09/01/05 15:46:53 at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
    09/01/05 15:46:53 at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3271)
    09/01/05 15:46:53 at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1697)
    09/01/05 15:46:53 at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
    09/01/05 15:46:53 at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
    09/01/05 15:46:53 at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269)
    09/01/05 15:46:53 at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5244)
    09/01/05 15:46:53 at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1083)
    09/01/05 15:46:53 at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:530)
    09/01/05 15:46:53 at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:333)
    09/01/05 15:46:53 at sun.reflect.GeneratedMethodAccessor95.invoke(Unknown Source)
    09/01/05 15:46:53 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    09/01/05 15:46:53 at java.lang.reflect.Method.invoke(Method.java:585)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    09/01/05 15:46:53 at java.security.AccessController.doPrivileged(Native Method)
    09/01/05 15:46:53 at javax.security.auth.Subject.doAs(Subject.java:396)
    09/01/05 15:46:53 at com.evermind.server.ThreadState.runAs(ThreadState.java:622)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    09/01/05 15:46:53 at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    09/01/05 15:46:53 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    09/01/05 15:46:53 at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
    09/01/05 15:46:53 at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
    09/01/05 15:46:53 at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
    09/01/05 15:46:53 at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    09/01/05 15:46:53 at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    09/01/05 15:46:53 at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
    09/01/05 15:46:53 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    09/01/05 15:46:53 at java.lang.reflect.Method.invoke(Method.java:585)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    09/01/05 15:46:53 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    09/01/05 15:46:53 at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    09/01/05 15:46:53 at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
    09/01/05 15:46:53 at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
    09/01/05 15:46:53 at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
    09/01/05 15:46:53 at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    09/01/05 15:46:53 at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    09/01/05 15:46:53 at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    09/01/05 15:46:53 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
    09/01/05 15:46:53 at java.lang.Thread.run(Thread.java:595)
    Is there any possible solution to resolve this issue. we have included all jar files. Do we have to any configuration in server.xml of SOA server to make the Stellent connections work..
    Kindly assist regarding this issue. Thanks in advance.

    I got the solution.
    Re: Connecting to UCM (Stellent) using Java embedding BPEL activity

  • POC Weight on basis of Activity Duration

    Hi Experts,
    I need POC weight to be assigned on the basis of activity duration, can any one tell me which BADI / BAPI should be used for the purpose.
    Thanks & Regards,
    Murtaza

    Dear
    In SPRO the progress version, you can use the POC weighting "4 work, basic" option  that will calculate the Plan and actual POC base on weighting POC work.

  • Actual Time bar for the activity duration in Gantt Chart

    Hi all,
    The Actual time bar for the elapsed activity duration in Gantt chart is not appearing. The same is true for all the activities i.e. activities which are not yet confirmed and activities which are partially confirmed.
    Is there any customizing for the same? ( I am getting the bar in IDES, but not in DEV/QAS/PRD )
    Any Help in this regards will be highly appreciated
    Warm regards,
    Srinivas Potluri

    Hai Srinivas
    Got the solution.
    1)For this first check in the project profile of the Hierarchry graphic -
    Time scheduling profile - check the colour patterns which been assigned.
    2)open the project - Cj20N - go to planning board - bar chart - under settings - Planning board assistant - Gantt chart - check the dates display for Project definition , WBS , Acitivity - try to change the colour and check.
    while changing can see - basic date of the acitivity. based on the confirmation can see the bar confirmed activity with respect to basic date. the bar confirmation will show withrespect to duration.
    3) If the bar chart need in daily /hourly - can check in CNE5 . click on the graphics -bar chart - which u will get the bar chart - in this choose the Time Axis - where can select the monthly /weekly/daily /hourly format .
    Award points if clear and got the solution.
    Regards
    PP

  • RRB-How to get the activity description instead of WBS element in the bill

    Dear All,
    I am using RRB DIP profile to do my Resource related billing
    RRB-How to get the activity description instead of WBS element in the billing
    document.Now  iam able to get the cost and the quantity used as line items but instead of getting the respective line items in the invoice iam still getting the WBS
    element description for all the activities.Can some body guide me to overcome this problem.
    Assured reward points for your suggestions and help.
    Thanking you,
    Best regards,
    R.Srinivasan

    Dear All,
    Please can any body help me for the same.IT is urgent.I will award you points.
    thankyou,
    Best regards,
    R.Srinivasan

  • Issue with email bpel activity

    Hi,
    I am trying to use Email activity in my bpel flow.
    I configured the email driver with smtp server/port/userid/pwd
    and using "[email protected]" as my recipient address.
    When executing the bpel , i am getting the below exception:
    Error     SDP-26105     unable to deliver to following address(es): [email protected], Reason: Invalid Addresses
    Below is the bpel activity for email invocation:
    <scope name="Email1">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:email"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="varNotificationReq"
    messageType="ns10:EmailNotificationRequest"/>
    <variable name="varNotificationResponse"
    messageType="ns10:ArrayOfResponse"/>
    <variable name="NotificationServiceFaultVariable"
    messageType="ns10:NotificationServiceErrorMessage"/>
    </variables>
    <sequence name="Sequence1">
    <assign name="EmailParamsAssign">
    <copy>
    *<from expression="string('[email protected]')"/>*
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns10:FromAccountName"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns10:Bcc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns10:Cc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns10:ReplyToAddress"/>
    </copy>
    <copy>
    <from expression="'Newv order received for :'+bpws:getVariableData('inputVariable','payload','/ns2:Order/ns2:orderId')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns10:Subject"/>
    </copy>
    <copy>
    *<from expression="string('[email protected]')"/>*
    *<to variable="varNotificationReq" part="EmailPayload"*
    query="/EmailPayload/ns10:To"/>
    </copy>
    <copy>
    <from expression="'Your oarder for '+bpws:getVariableData('inputVariable','payload','/ns2:Order/ns2:prodName') +' is recevied'"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns10:Content/ns10:ContentBody"/>
    </copy>
    <copy>
    <from expression="string('text/html; charset=UTF-8')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns10:Content/ns10:MimeType"/>
    </copy>
    </assign>
    <invoke name="InvokeNotificationService"
    portType="ns10:NotificationService"
    partnerLink="NotificationService1"
    inputVariable="varNotificationReq"
    outputVariable="varNotificationResponse"
    operation="sendEmailNotification"/>
    </sequence>
    </scope>
    Any help will be highly appreciated.

    Try with the below Link, to check that you had configured correctly and restarted server.
    http://technology.amis.nl/blog/6019/configure-soa-suite-11g-for-sending-email-notifications-with-google-mail
    Thanks,
    Vijay

  • BPEL Activity Annotation Tab???

    ALL BPEL Activity has a Annotation Tab, which contains followings.
    A) Enable Annotation
    B) Documentation
    C) General Subtab (with Add, Edit, Delete options) with Name & Value Columns
    D) Analysis Subtab (with Add, Edit, Delete options) with Name & Value Columns
    I wanted to know significance of each of these fields in Annotation Tab.
    Thanks In Advance!
    priyadarshi

    You can find information regarding the Annotation tan on below link:
    http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10224/bp_appx_ref.htm
    Extract from the link:
    The Annotations tab displays on all activities and enables you to provide descriptions in activities in the form of code comments and name and pair value assignments.
    Note the following issues when using annotations in Oracle JDeveloper:
    * The Annotations tab in activities of Oracle JDeveloper does not provide a method for changing the order of annotations. As a work around, change the order of annotations in the Source view of the project's BPEL file in Oracle BPEL Designer.
    * The otherwise branch in a switch activity does not allow you to create annotations. However, the case branch in a switch activity does provide this functionality.

  • Resource Durations (Start /finish) are not align with activity durations

    Gurus,
    My Resource Durations (Start /finish) are not align with activity durations and hence the Budgeted % are going crazy. Any idea?

    hi,
    the default start/finish dates for resource assignments are the activity start/finish dates. if for any reason you changed that, you can check and reset both Original Lag and Remaining Lag to 0 for all/ some of your resource assignments by adding the columns in the Resource Assignments window and performing either a fill down or a Global Change operation. let me know if you need help with any of these.
    best of luck.

  • Bulk change activity duration type

    Hi All,
    Does anyone know how to
    bulk change Activity Duration Types.
    I would
    like to change all the existing Activities in my Project
    to Fixed Units/Time.
    Thanks<br
    />Munga

    Hi Munga,
    Select the Duration
    Type of the first activity then click on the shift tab
    and select the last activity ,right click you shall
    find the 'Fill Down'Option.This option shall act
    similar to the Fill Cell option of excel wherein the
    value of first cell will get copied till the last
    cell....
    Regards,<br
    />
    Pratish Shetty

  • How to see data in BAM from sensor on BPEL activity?

    Hello, I 'am working with BPEL on Jdeveloper (last version).
    I have putted sensors on some activity of my process. On an other machine I have putted the BAM server (last version) which is ON and I have the BAM connection on Jdevlepper. Now I try to see data on BAM from sensor but I can't.
    Can someone explain me how to do?
    (I just can build some data just like in a data base with BAM architect but I can't read and put to graphics the ones from the sensors)
    Thank's much
    JAck

    Hello,
    To answer your question, I have install BAM on the same machine where BPEL server is running.
    Now I steel can't get sensor's data from BPEL:
    With BAM architect I can build data, with BAM studio I can use that data to design graphics but when I try to feed data from BPEL it doesn't work because I just can't press the OK button!!
    In BPEL : When I try to Create BAM sensor action (from structure panel), I can't generate the xsl map file no action is done when pressing OK, create mapping or edit mapping button!

  • Converting BPEL date format to Database Timestamp format

    Hi all,
    Is there any way to convert BPEL current-dateTime() format to database Timestamp format.
    Sample BPEL current-dateTime(): *2011-07-14T11:51:06-04:00*
    Sample Database Timestamp value: *14-JUN-11 11.51.06.936511000 AM*
    If this is not possible, then could I get millisecond from any of the function used in BPEL? if yes, how?
    Actually I need this to find out the time of invoke of a BPEL process upto millisecond.
    Any help would be appreciated.
    Regards,
    Rakesh Ranjan

    Please check the below thread and let usknow if it helps.
    Re: Date conversion

  • Activity Duration

    Hi everyone
    I have been trying to set a default duration for an appointment - reduce it from 1 hour to 15 mins. I have tried setting field default value on end time - cant get this to work. I have also tried to set a default on the duration field - this is a system field and therefore not editable. I hope someone can help as this will significantly reduce data entry time for our field people.
    Many thanks
    Christine

    The software is working as designed.
    The duration in P6 is stored in hours and not days.
    Now say 5d = 40hrs stored in database based on 8h/d calendar.
    Now if you change activity calendar to 10h/d
    Duration = 40/10 =4d
    Cheers
    Jawad
    Novo Rail, Sydney

  • Business activity duration error

    Hi,
    When I create business activity on my crm system duration field occurs initial in some cases.
    Duration is INITIAL in the case shown below,
    18.01.2008  00:00 - 18.01.2008  02:00
    Duration is true in the case shown below,
    18.01.2008  02:00 - 18.01.2008  03:00
    Date profile is 'Activity: Actual' which use date rule 'Actual Date (Activities)'. Time zone: EET.
    Thanks,

    Do you have a source control system  (svn, git,...) you use with the application?
    The Model,jpr file is corrupt which may cause trouble later. Right now everything looks working, but there might some display problems when you open e.g. the application module or VO.
    Save the current (corrupt?) jpr file and try to restore it from the repository until you find one which loads without the problem. Once you have on select the project in the application navigator and click on refresh (ctrl-r). This should add missing content back again.
    Timo

  • BSP page loads in active screen instead of opening new one

    When I want to execute my SAP CRM webclient, it always takes an active internet explorer screen instead of a new one.  I know this is just a setting somwhere, can somebody help me find this back? 
    Thanks experts!

    this has nothing to do with BSP. you have to change your browser setting. for example in IE
    go to tools->internet options->advanced and uncheck the check box against "Reuse windows for launching short cuts ...."
    Regards
    Raja

  • How to obtain bpel project from application server

    I developed several project by jdeveloper on my laptop and deployed to application server already. But for now I change my laptop so I can not develop these projects on folder "mywork" in old laptop. Is there any way to obtain project from application server? I hope I acn continued my developing on this new laptop.

    if you look in :
    <ORACLE_HOME>/bpel/domains/default/tmp/
    You will find the deployed bpel-processes.
    But..you will not have the jdeveloper-project-structure (dirs etc)

Maybe you are looking for

  • Hi! What cable do I purchase to connect my ipod to my car?

    Hello! I'm trying to hear my ipod's music on my car's speakers? What wire do I buy to connect the ipod to the car's auxiliary port?

  • Identity Service Engine (ISE) Admin Access

    Is it possible to authenticate the ISE administrator via an external Radius Server? The option I find is that it will not work,  The manual reads:  In Cisco ISE, you can authenticate administrators via an external identity store such as Active Direct

  • Simple module pool  programming.

    hi, can  anybody tell me how to go about doing module pool programming ....... to start with ....... how to add  2 nos. using screen  with 2 i\o fields for user to input 2 nos. and a output field  for result......... can  u tell the coding and the wa

  • Creative Suite 6 elements won't launch.

    I have previously been able to launch from this computer. I have a registration number and have registered the product. I have tried to re-execute, have removed and reloaded the programs, but nothing seems to fix it. InDesign doesn't get past 'Callin

  • Write Data [Channel] Replacing Data instead of Appending

    Hey Guys, Apologies if this is really straightforward but I can't seem to figure out why the write data block isnt appending data on the tdms file, instead its simply overwriting the last value of temperature in the file, so that only the last temper