Scope of the BPM Process variables

Hi All,
What is the scope of the process variables in a BPM Process?
I had defined couple of process variables in my BPM process and observed that whenever i go into a Human Task activity and come back to the BPM process all my process variables values are back to null. Is this the expected behavior or am i missing some thing?
Thanks,
TK

Hi Tulasi. Check for the Modeling and Implementation Guide for Oracle Business Process Management
You can downlod it from here:
download.oracle.com/docs/cd/E21764_01/doc.1111/e15176.pdf
Chapter *8 Handling Information in Your Process Design *, particulary section *8.12 Scope and Access*

Similar Messages

  • How to trigger the BPM process from WD Application

    Hello All,
    I have a simple business process with two ui activities. I am able to start the process from NWA -> Process Repository.
    But, I need to start the process from the application. Here is the requirement:
    User opens the application. ON completion, the BPM process for approval needs to be triggered. How do i access/obtain process?
    If I need to call a particular task in process, How do i do that?
    Kindly assist.
    Thank you.
    Regards,
    Sharath

    if you want to know the whole story, please refer to the doc
    http://help.sap.com/saphelp_nwce72/helpdata/en/44/4d2bb1c6b00597e10000000a155369/frameset.htm
    the profile, provider system,endpoint。。。。。
    search this doc in sdn, it is a good example regarding the configuration.
    How to Use SOA Configuration to Call RFCs and Web Services from within SAP NetWeaver BPM
    hope those may help.

  • How to invoke an other BPM asynchronous process from the BPM process

    Do anyone know how to invoke other asynchronous process from the BPM process without using the Web Service URL?

    Try using a Service task implemented as a Process Call. Then you select the process you want to call, set the associations or transformation and deploy it to test.
    I hope it works for you.
    isabelbernely

  • Data objects supported in the BPM Process Composer by Activity ?

    Hi,
    In BPMN 2.0 normalization, data objects are artefacts which show the reader which data is required or produced in an activity.
    How is the data objects supported in the BPM Process Composer?
    Thanks,
    Grégoire.

    Select the activity and then select the Data Associations button. You can associate existing data objects and create new ones.
    Heidi.

  • Users added to a Task AFTER the BPM process has started

    Does anyone know of a way to assign users to a task AFTER the BPM process has started?

    Hi Craig,
    whenever a Task Instance gets created, the assigned roles and groups are resolved into individual users. This means that changes to the roles and groups do not affect existing Task Instances.Then the only way to assign additional users is via "nominate" operation from the NWA or "delegate" from the Task UI. Such changes in the roles and groups will only take affect for newly created Task Instances.
    Hope this helps.
    Stefan

  • Delete all instance for the BPM process

    How can I delete all instances or specific instance of the BPM Process except redeploy the process and unchecked the keep all instance option??

    Hi
    Just a small correction. When you ReDeploy Workflow SCA file and Uncheck the option to keep running instances, if I am not wrong, all OLD instances are NOT deleted. They just become STALE (change the status). BUT these instances are still there in the Database but not show up in the Worklist/Workspace app. You may see these Tasks but you CANNOT open them and it says like Task Details Not Found etc.
    But if your intention is to delete the instances permanently, then see the earlier post on how to delete from EM. This will take care of permanently deleting.
    Thanks
    Ravi Jegga

  • Message Monitoring for each within the BPM process

    I have a question concerning message monitoring within a BPM process.  I receive an IDOC into my BPM process.  I then have three transformation steps before sending an E-mail to the end receiver.  When I look at the messages in the workflow log, I am unable to see the message after each transformation step.  In the log display if I click the instance ID for all steps except the first step I am unable to see a message.
    List of Message Objects
    Object Type              Instance    ID                          Creation Time
    ZXI_PROXY...0001     DC9F66530C7899F1AC430017A44943B2     11:04:39
    ZXI_PROXY...0001     DC9F66530C789FF1AC430017A44943B2     11:04:39
    ZXI_PROXY...0001     DC9F66530C78A5F1AC430017A44943B2     11:04:39
    ZXI_PROXY...0001     DC9F66530C78B1F1AC430017A44943B2     11:04:39
    ZXI_PROXY...0001     DC9F66530C78ABF1AC430017A44943B2      11:04:39
    ZXI_PROXY...0001     DC9F614BA98C51F1AC430017A44943B2      10:28:40
    If I click all except the first instance I receive the following message:
    No messages available for selection
    Message no. XMS_ADM113
    Is there a way to make the message persistent after each step within the process?  I would like to see the data after each step in the workflow log. Is this possible?
    I do receive the e-mail from the send step so I know that it's completing the process.  What I'm not sure of is if each step individually processed the data as I expected.

    Hi Audra,
    Check this link
    BPM monitoring
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
    Sachin

  • How to Terminate the BPM Process instance

    Hi,
    If I have an instance of bpm process which fault at the database service task, I want to manually terminate or suspend it. I tried to do it in the workspace as an bpm administrator, however, since the instance pass the human task already, so that i can't suspend the instance. On the enterprise manager console, I don't see any way to terminate one instance. Please advise and it is so important and urgent for me, since our bpm project already on prodction, we have to fix it as soon as possible. Thanks in advance

    I'm thinking you're asking what you can do with an instance that has an uncaught exception and not how to have modeled it so they can be properly handled. If you're not catching the exception, in any of the 7 techniques listed below - you're kind of stuck.
    If you have a service task and you'd like to handle the exception (manually or other), you have the choices listed below. If you are using none of these, then you're allowing the BPMN engine to handle the exception and about all you can do is to delete the instance in Enterprise Manager.
    1) You could add a catch error event to the boundary of the Service task and have that event designated to handle the exception thrown. From the boundary event, you might have a sequence flow to an Interactive activity that lets you hande the exception. Once handled, the instance can continue on with the process.
    2) You could add an event subprocess in the same process as the Service activity that has a start error event and have that event designated to handle the exception thrown. From the event subprocess, you might have a sequence flow to an Interactive activity that lets you hande the exception. The difference between this scenario and the first is that the instance in the process has to terminate in the end event in the event subprocess.
    3) If your process is invoked as an embedded subprocess, you could add a boundary event (1 above) or catch it in an event subprocess (2 above).
    4) If your process is a reusable process invoked from a parent process using a Call activity, if the exception isn't caught inside the called subprocess you could add a boundary event to the Call activity in the parent process. This is similiar to 1 above and you'd need a sequence flow comingin out of the boundary catch error event on the Call activity to go somewhere in the process to handle the exception.
    5) If your process is a reusable process invoked from a parent process using a Call activity, if the exception isn't caught inside the called subprocess and it is not caught by a boundary error event on the parent's call activity then you could add an event subprocess in the parent process that has a start error event and have that event designated to handle the exception thrown inside the child process.
    6) There is a way to handle exceptions thrown inside a peer process but I'm guessing that might be too much for this post.
    7) You can handle exceptions using a Policy outside of the processes. Rather than using the above to handle exceptions, you could use policy based exception handling where you give the policy the different types of faults you want to catch and if you want to retry, let it be handled by someone in Enterprise Manager and if you just want to abort the instance.
    If the exception is not caught, then you're in the scenario you're in now and the BPMN engine is where it is unfortunately caught. Although you can see it, it is a non-recoverable exception and about all you can do is delete the instance in Enterprise Manager.
    Hope this helps,
    Dan

  • Can we call an Standard API from the BPM process

    Hi,
    Can we call a Public API from within a BPM Process. Can you please suggest the procedure for achieving the same.
    Also wanted to know the procedure to insert into Standard Interface tables and called Standard Interface program to Create objects like Employees, Employee assignments, etc.
    Please send any documents / writeup to achieve the above.
    Thanks & Regards,
    Murali

    You will have to catalog the API (refer to the Studio help files for the details). Once you catalog the api you can use it in a method. The method can then be used in an activity in the process.

  • In what situation i can go for the BPM process?

    hai pals,
         i wld like know in what kind of situation we will go for an BPM process for message transfer.
    with regards,
    rajesh.

    Hi Rajesh,
       BPM process is a very useful tool as the name suggest ccBPM when ever you want to model your soultion hitting different systems, Also helps in controling and  monitoring complex integration solution process.
        As it uses SAP workflow engine behind it is very effective in building complex soultion.
        some simple scenarios could be
         Wait for more than one input and start your integration process..
         Raising alerts, exceptions and so on...
    cheers,
    Vedavyas
    Message was edited by: Vedavyas Cuntheepuram

  • Working with array variables defined in the BPM process

    Hello,
    I have created an array variable in my process. This array was created based on a custom type that contains 2 strings variables.
    How can I set/get and add new items to this array variable using java code?
    The only thing I know is that, if this was a simple variable I would do something like this:
    DCBindingContainer bc = (DCBindingContainer)FacesContext.getCurrentInstance().getApplication().evaluateExpressionGet(FacesContext.getCurrentInstance(), "#{bindings}", BindingContainer.class);
    JUCtrlAttrsBinding dc = (JUCtrlAttrsBinding) bc.findNamedObject("myVar");
    dc.setInputValue("theValue".toString());
    thank you
    fwu

    Hi
    I've been working on TZ's recently... see this post:
    https://supportforums.cisco.com/discussion/12474756/how-check-daylight-saving-within-uccx-script
    My approach in the scripts was that basically I allow the department to set their opening hours in the timezone of their choice.
    They have a management web page served from CCX that accepts start/end times each day, and a timezone. That all gets stored in XML.
    In the script, based on that information I get the current time in whatever timezone is set, and compare that to the XML open/close times.
    Similarly for holidays, I get the current date/time in the holiday TZ and compare the holidays to that.
    Aaron

  • How to invoke a webservice in the middle of a BPM process

    I use BPM studio to create processes.
    In the middle part of the BPM process, it need to invoke a web service (an ADF project deployed to weblogic as a web service). Then, it will wait.
    After the process is finished, it will invoke another web service (an ADF project deployed to weblogic as a web service).
    How to invoke web services in and after the process?
    Thank you.

    Hi,
    Thanks for your reply. I use BPM studio 10.3
    In the Catalogue, there are 3 default components which are Fuego, Java, and Plumtree.
    In the Fuego, there is an item of WebServices. In the Plumtree, there is an item named WebServiceProperty.
    If I create a new Module, I cannot find the option of web service.
    How to invoke a webservice (ADF/Java web service developed in Jdeveloper deploy to weblogic ) ?
    Thanks.

  • Wait for a message to proceed to the next activity in BPM Process??

    Hi,
    1. After a BPM process is initiated, is it possible to have a "Wait step" in the process ?...That is, I would like to continue to the next activity in the BPM process ONLY after I have received a certain message...
    We do have a "Wait" step in ccBPM(PI) wherein , we could wait until a certain message is received(based on correlation) and then proceed to the next step....
    Is this possible in BPM ???
    There was a query similar to this in the forum :
    Inter-Process Asynchronous Event
    (or search for "Inter-Process Asynchronous Event "  - Ingo Taraske)
    and a suggestion was provided by David Conil which I didn't quite get...
    Would be great if some one could throw more light on if this is possible in EhP1...Thanks.
    Best Regards
    Arun

    Hi Arun,
    In a nutshell, wait steps are not supported in EhP1. The workaround consists of splitting the process in two processes. In BPMN 1.1, wait steps are modeled using "Intermediate Message Events". The idea is to consider the intermediate message event as start event of the second process. The asynchronous aspect would be covered using PI.
    Best regards,
    David

  • Oracle BPM Process Data mart

    I am required to create audit reports on BPM workflows.
    I am new to thid & need some guidance on configuring BPM Process Data mart. What are the pre-requisites for configuring it & what are the steps to do it.
    Also, need some inputs on BAM database. What is the frequency of data upload. Is it data update or insert in BAM.

    Hi,
    You might want to check out the Administration and Configuration Guides on http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/index.html.
    I suspect you might find the BAM and Data Mart portions of this documentation a bit terse, so I've added the steps below that provides more detail. I wrote this for ALBPM 6.0, but believe it will still work for Oracle BPM 10g. It was created from an earlier ALBPM 5.7 document Support wrote called "ALBPM 5_7 Configuring and Troubleshooting the BAM and DataMart Updater.pdf.
    You can define how often you want the contents in both databases updated (actually inserted) and how long you want to persist the contents of the BAM database during the configuration.
    Here's the contents of the document:
    1. Introduction
    The use of BAM (Business Activity Monitoring) and Data Mart (or Warehouse) information is becoming more and more widespread in today’s BPM project implementations for the obvious benefits they bring to the management and tuning of processes.
    BAM is basically composed by a collection of measurements of current processes load and execution times. This gives us an idea of how the business is doing at this moment (in a pseudo real-time fashion).
    Data Mart, on the other hand, is a historical view of the processes load and execution times. And this gives us an idea of how the business has developed since the moment the projects have been put in place.
    In this document we are not going to describe exhaustively all configuration aspects of the BAM and Data Mart Updater, but rather we will quickly move from one configuration step to another paying more attention to subjects that have presented some difficulties in real-life projects.
    2. Creating the Service Endpoints
    The databases for BAM and for Data Mart first have to be defined in the External Resources section of the BPM Process Administrator.
    In this following example the service endpoint ‘BAMJ2EEWL’ is being defined. This definition is going to be used later as BAM storage. At this point nothing is created.
    Add an External Resource with the name ‘BAMJ2EEWL’ and, as we use Oracle, select the Oracle driver, then click <Next>:
    On the following screen, specify:
    ·     the hostname – here I have used ‘localhost’ as I am just setting this up to work on my laptop
    ·     the port for the Oracle service
    ·     the SID – here I have use Oracle Express so the SID is ‘XE’
    ·     the new user to create / use in Oracle for this database – here I have specified ‘BPMBAM’. This user, and its database, will be created later
    ·     the password for the user
    Scroll down to the bottom of the page and click <Save>.
    In addition to a standard JDBC connection that is going to be used by the Updater Service, a remote JDBC configuration needs to be added as the Engine runs in a WebLogic J2EE container. This Data Source is needed to grant the Engine access over BAM tables thru the J2EE Connection Pool instead of thru a dedicated JDBC. The following is an example of how to set this up.
    Add an External Resource with the name ‘BAMremote’ and select the Oracle driver, then click <Next>
    On the following screen, specify:
    ·     the Lookup Name that will be used subsequently in WebLogic - here I have given it the name ‘XAbamDS’
    Then click <Save>.
    In the next example the definition ‘DWHJ2EEWL’ is created to be used later as Data Mart storage. If you are not going to use a Data Mart storage you can skip this step.
    Add an External Resource with the name ‘DWHJ2EEWL’ and select the Oracle driver, then click <Next>:
    On the following screen, specify:
    ·     the hostname – here I have used ‘localhost’ as I am just setting this up to work on my laptop
    ·     the port for the Oracle service
    ·     the SID – here I have use Oracle Express so the SID is ‘XE’
    ·     the new user to create / use in Oracle for this database – here I have specified ‘BPMDWH’. This user, and its database, will be created later
    ·     the password for the user
    3. Configuring BAM Updater Service
    Once the service endpoint has been created the next step is to enable the BAM update, select the service endpoint to be used as BAM storage and configure update frequency and others. Here the “Updater Database Configuration” is the standard JDBC we configured earlier and the “Runtime Database Configuration” is the Remote JDBC as we are using the J2EE Engine.
    So, here’s the example of how to set up the BAM Updater service….
    Go into ‘Process Monitoring’ and select the ‘BAM’ tab and enter the relevant information (using the names created earlier – use the drop down list to select):
    Note that here, to allow me to quickly test BAM reporting, I have set the update frequency to 1 minute. This would not be the production setting.
    Once the data is input, click <Save>.
    We now have to create the schema and related tables. For this we will open the “Manage Database” page that has appeared at the bottom of the BAM screen (you may have to re-select that Tab) and select to create the database and the data structure. The user required to perform this operation is the DB system administrator:
    Text showing the successful creation of the database and data structures should appear.
    Once we are done with the schema creation, we can move to the Process Data Mart configuration screen to set up the Common Updater Service parameters. Notice that the service has not been started yet… We will get to that point later.
    4. Configuring Process Data Mart Updater Service
    In the case that Data Mart information is not going to be used, the “Enable Automatic Update” checkbox must be left off and the “Runtime Database Configuration” empty for this service. Additionally, the rest of this section can be skipped.
    In the case it is going to be used, the detail level, snapshot time and the time of update should be configured; in addition to enabling the updater and choosing the storage configuration. An example is shown below:
    Still in ‘Process Monitoring’, select the ‘Process Data Mart’ tab and enter the name created earlier (use the drop down list to select).
    Also, un-tick the Generate O3 Cubes (see later notes):
    Then click <Save>.
    Once those properties have been configured the database and the data structure have to be created. This is performed at the “Manage Database” page for which the link has appeared at the bottom of the page (as with BAM). Even when this page is identical to the one shown above (for the BAM configuration) it has been opened from the link in the “Process Data Mart” page and this makes it different.
    Text showing the successful creation of the database and data structures should appear.
    5. Configuring Common Updater Service Parameters
    In the “Process Data Mart” tab of the Process Monitoring section -along with the parameters that are specific to the Data Mart - we will find some parameters that are common to all services. These parameters are:
    • Log directory: location of the log file
    • Messages logged from Data Store Updater: severity level of the Updater logs
    • Language
    • Generate Performance Metrics: enables performance metrics generation
    • Generate Workload Metrics: enables workload metrics generation
    • Generate O3 Cubes: enables O3 Cubes generation
    In this document we are not going to describe in detail each parameter. But we will mention a few caveats:
    a. the Log directory must be specified in order for the logs to be generated
    b. the Messages logged from Data Store Updater, which indicates the level
    of the logs, should be DEBUG for troubleshooting and WARNING otherwise
    c. Performance and Workload Metrics need to be on for the typical BAM usage and, even when either metric might not be used on the initial project releases, it is recommended to leave them on in case they turn out to be useful in the future
    d. the Generation of O3 Cubes must be off if this service is not used, otherwise the Data Mart Updater service might not work properly .
    The only changes required on this screen was to de-select the ‘Generate O3 Cubes’ as shown in the last section.
    6. Set up the WebLogic configuration
    We need to set up the JDBC data source specified above, so go to Services / JDBC / Data Sources.
    Click on <Lock and Edit> and then <New> to add a New data source.
    Specify:
    ·     the Name – use the name you set up in the Process Administrator
    ·     the JNDI Name – again use the name you set up in the Process Administrator
    ·     the Database Type – Oracle
    ·     use the default Oracle Database Driver
    Then click <Next>
    On the next screen, click <Next>
    On the next screen specify:
    ·     the Database Name – this is the SID – for me that is XE
    ·     the Host Name – as I am running on my laptop, I’ve just specified ‘localhost’
    ·     the Database User Name and Password – this is the BAM database user specified in the Process Administrator
    Then click <Next>
    On the next screen, you can test the configuration to make sure you have got it right, then click <Next>
    On the next screen, select your server as the target server and click <Finish>:
    Finally, click <Activate Changes>.
    7. The Last Step: Starting Up and Shutting Down the Updater Service
    ALBPM distribution is different depending on the Operating System. In the case of the Updater Service:
    -     For Unix like Operating Systems the service is started or stopped with the albpmwarehouse.sh shell script. The command in this case is going to look like this:
    $ALBPM_HOME/bin$ ./albpmwarehouse.sh start
    -     For Windows Operating Systems the service is installed or uninstalled as a Windows Service with the albpmwarehouse.bat batch file. The command will look like:
    %ALBPM_HOME%\bin> albpmwarehouse.bat install
    After installing the service, it has to be started|stopped from the Microsoft Management Console. Note also that Windows will start automatically the installed service when the computer starts. In either case the location of the script is ALBPM_HOME/bin Where ALBPM_HOME is the ALBPM installation directory. An example will be:
    C:\bea\albpm6.0\j2eewl\bin\albpmwarehouse.bat
    8. Finally: Running BAM dashboards to show it is Working
    Now we have finally got the BAM service running, we can run dashboards from within Workspace and see the results:
    9. General BAM and Data Mart Caveats
    a. The basic difference between these two collections of measurements is that BAM keeps track of current processes load and execution times while Data Mart contains a historical view of those same measurements. This is why BAM information is collected frequently (every minute) and cleared out every several hours (or every day) and why Data Mart is updated infrequently (once a day) and grows indefinitely. Moreover, BAM measurements can be though of as a minute-by-minute sequence of Engine Events snapshots, while Data Mart measurements will be a daily sequence of Engine Events snapshots.
    b. BAM and Data Mart table schemas are very similar but they are not the same. Thus, it is important not to use a schema created with the Manage Database for BAM as Data Mart storage or vice-versa. If these schemas are exchanged by mistake, the updater service will run anyway but no data will be added to the tables and there will be errors in the log indicating that the schema is incorrect or that some tables could not be found.
    c. BAM and Data Mart Information and Services are independent from one another. Any of them can be configured and running without the other one. The information is extracted directly from the Engine Database (PPROCINSTEVENT table is the main source of info) for both of them.
    d. So far there has not been a mention of engines, projects or processes in any of the BAM or Data Mart configurations. This is because the metrics of all projects published under the current Process Administrator (or, more precisely, FDI Directory) are going to be collected.
    e. It is also important to note that only activities for which events are generated are going to be measured (and therefore, shown in the metrics). The project default is to generate events only for Interactive activities. This can be changed for any particular activity and for the whole process (where the activity setting, when specified, overrides the process setting). Unfortunately, there is no project setting for events generation so far; thus, remember to edit the level of event generation for every new process that is added to the project.
    f. BAM and Data Mart metrics are usually enriched with Business Variables. These variables are a special type of External Variables. An External Variable is a process variable with the scope of an Instance and whose value is stored on a separate column in the Engine Instances table. This allows the creation of views and filters based on this variable. A Business Variable, then, shares all the properties of an External Variable plus the fact that its value is collected in all BAM and Data Mart measurements (in some cases the value is shown as it is for a particular instance and in others the value is aggregated).
    The caveat here is that there is a maximum number of 256 Business Variables per FDI. Therefore, when publishing several projects into a single FDI directory it is recommendable to reuse business variables. This is achieved by mapping similar Business Variables of different projects with a unique real Variable (on the variable mapping performed at publish time).
    g. Configuring the Updater Service Log
    In section 5. Configuring Common Updater Service Parameters we have seen that there are two common Updater properties related to logging. These properties are “Log directory” and “Messages logged from Data Store Updater”, and they specify the location and level of these two files:
    - dwupdater.log: which is the log for the Data Mart updater service
    - bam-dwupdater.log: which is the log for the BAM updater service
    In addition to these two properties, there is a configuration file called ‘WarehouseService.conf’ that allows us to modify these other properties:
    - wrapper.console.loglevel: level for the updater service log
    - wrapper.logfile.loglevel: level for the updater service log
    - wrapper.java.additional.n: additional argument to the service JVM
    - wrapper.logfile.maxsize: maximum size of the updater service log files
    - wrapper.logfile.maxfiles: maximum number of updater service log files
    - wrapper.logfile: updater service log file name (the default value is dwupdater-service.log)
    9.1. Updater Service Log Configuration Caveats
    a. The first three parameters listed above have to be modified when increasing the log level to DEBUG (since the default is WARNING). The loglevel parameters have to be set to DEBUG and a java.additional.n (where n is a consecutive integer to the already used ones) has to be set to –ea to enable asserts, since without this option no DEBUG message is going to be generated.
    b. Of the other arguments, maxfiles might need to be increased to hold a few more days of data when the log level is set to DEBUG (with the default value up to two days are stored).
    c. The updater service has to be stopped, uninstalled, installed and then started for any of these changes to take effect.
    Hope this helps,
    Dan

  • Problem with array param when calling a webservice from a BPM Process

    Hi. I have a web service and uses an array as parameter.
    The array (named "atributos") as part of a business object is defined here:
    <xs:schema targetNamespace="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/TrackPCPDOTrans" ...>
    <xs:complexType name="TrackPCPDOTransType">
    <xs:sequence>
    <xs:element name=... />
    <xs:element name="atributos" nillable="true" type="ns2:AtributosType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="TrackPCPDOTrans" type="TrackPCPDOTransType"/>
    </xs:schema>
    <xs:schema targetNamespace=... >
    <xs:complexType name="AtributosType">
    <xs:sequence>
    <xs:element name="key" nillable="true" type="xs:string"/>
    <xs:element name="value" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="Atributos" type="AtributosType"/>
    </xs:schema>
    In the service task activity, I pass the params to the web service:
    "descripcion" --> TrackPCPDOTrans.atributos[1].key
    DataObject.descripcion --> TrackPCPDOTrans.atributos[1].value
    "estado" --> TrackPCPDOTrans.atributos[2].key
    DataObject.estado --> TrackPCPDOTrans.atributos[2].value
    "justificacion" --> TrackPCPDOTrans.atributos[3].key
    DataObject.justificacion --> TrackPCPDOTrans.atributos[3].value
    But when I test the process, an error ocurrs:
    <auditQueryPayload auditId="8712004" ciKey="380019">
    <dataState>
    <dataObject name="FaultMessage" isBusinessIndicator="false">
    <value> oracle.bpm.bpmn.engine.model.runtime.microinstructions.TrappableException: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} cause: {faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} parts: {{ summary=<summary>empty expression result. The expression bpmn:getDataInput('trackPCPDOTrans')/ns:atributos[2]/ns1:key is empty. An attempt to read or copy data referenced or computed by the XPath expression either had invalid data, according to the XML schema, or did not contain certain optional data. Ensure that the variable or expression result named in the error message is not empty. Enable XML schema validation of related data elements to ensure the run-time data is valid. </summary>} } </value>
    </dataObject>
    </dataState>
    </auditQueryPayload>
    What is wrong?
    Thanks for your help.

    I did the assignment in XPATH:
    oraext:parseXML(concat('<AtributosTracking xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/AtributosTracking">
    <arrayAtributosTracking>
    <key xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos">','descripcion','</key>
    <value xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos">',bpmn:getDataObject('DataObjectDDSAO')/ns:descripcion,'</value>
    </arrayAtributosTracking>
    <arrayAtributosTracking>
    <key xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos">','estado','</key>
    <value xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos">',bpmn:getDataObject('DataObjectDDSAO')/ns:estado,'</value>
    </arrayAtributosTracking>
    </AtributosTracking>'))
    AtributosTracking.xsd:
    <?xml version="1.0" encoding="UTF-8"?>
    <?bpmo version="11.1.1.6.0.15.53" build="15.53" fullName="DataTypes.AtributosTracking" modifiers="268435456"?>
    <xs:schema targetNamespace="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/AtributosTracking" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/AtributosTracking" xmlns:ns1="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos" xmlns:bpmo="http://xmlns.oracle.com/bpm/bpmobject/" >
    <xs:import namespace="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos" schemaLocation="Atributos.xsd"/>
    <xs:complexType name="AtributosTrackingType">
    <xs:sequence>
    <xs:element name="arrayAtributosTracking" nillable="true" type="ns1:AtributosType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="AtributosTracking" type="AtributosTrackingType"/>
    Atributos.xsd:
    <?xml version="1.0" encoding="UTF-8"?>
    <?bpmo version="11.1.1.6.0.15.53" build="15.53" fullName="DataTypes.Atributos" modifiers="0"?>
    <xs:schema targetNamespace="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://xmlns.oracle.com/bpm/bpmobject/DataTypes/Atributos" xmlns:bpmo="http://xmlns.oracle.com/bpm/bpmobject/" >
    <xs:complexType name="AtributosType">
    <xs:sequence>
    <xs:element name="key" nillable="true" type="xs:string"/>
    <xs:element name="value" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="Atributos" type="AtributosType"/>
    </xs:schema>
    But a new error occurrs when I run the BPM process:
    <auditQueryPayload auditId="8724004" ciKey="380025">
    <dataState>
    <dataObject name="FaultMessage" isBusinessIndicator="false">
    <value> oracle.bpm.bpmn.engine.model.runtime.microinstructions.TrappableException:
    faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    cause: {faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{ summary=<summary>XPath query string returns multiple nodes.
    The assign activity part and query bpmn:getDataObject('AtributosTracking')/ns:atributosTracking are returning multiple nodes.
    The assign activity part and query named in the error message returned multiple nodes. It should return single node.
    According to BPEL4WS specification 1.1 section 14.3, the assign activity part and query named in the error message should
    not return multiple nodes. Verify the part and xpath query named in the error message at line number -1 in the BPEL source. </summary>} } </value>
    </dataObject>
    </dataState>
    </auditQueryPayload>
    Any idea?
    Thanks
    Edited by: César on 10/01/2013 11:02 AM

Maybe you are looking for

  • FI PCA Difference in Stock A/c

    Hi There is a difference between the GL account (FS10N run for company code & business area) and the profit centre report as at last financial period. I have carried out the following steps in order to clarify. Via CSKS (cost centre master) table I s

  • How to write the GUI in another language

    Hi all how can i write the GUI value in another language i.e the JTextField, JComboBox and other in another language for example arabic becuase when i write it it gave me strange charecters??? how can i support this in java???

  • F.01 financial statements

    Hi friends 1) In f.01 when we go for a report the system asks reporting year period like 1 to 16 and comparison period like 1 to 16 in our system the comparison year and periods  like 2007 period1 to 16. I want to make the comparison period FIELDS  l

  • VTS Files

    I am trying to copy a portion of a previously burned DVD to a new DVD. The way I accomplish this is to use mgeg streamclip, and make a movie file, then use the movie file in iDVD. The downside is you are uncompressing and then recompressing a video s

  • 450 Host down

    I have successfully migrated GW8 (domain, po, gwia, webaccess) from a NW65 box to SLES10sp2 VM running on XenServer 6.2. All users can access their mailboxes thru GW clients on the PC workstations or WebAccess. The system can also receive mail from t