Table of Contents

Search

  1. Preface
  2. Welcome to Informatica Process Developer
  3. Using Guide Developer for the First Time
  4. Getting Started with Informatica Process Developer
  5. About Interfaces Service References and Local WSDL
  6. Planning Your BPEL Process
  7. Participants
  8. Implementing a BPMN Task or Event in BPEL
  9. Implementing a BPMN Gateway or Control Flow
  10. Using Variables
  11. Attachments
  12. Using Links
  13. Data Manipulation
  14. Compensation
  15. Correlation
  16. What is Correlation
  17. What is a Correlation Set
  18. Creating Message Properties and Property Aliases
  19. Adding a Correlation Set
  20. Deleting a Correlation Set
  21. Adding Correlations to an Activity
  22. Rules for Declaring and Using Correlation Sets
  23. Correlation Sets and Engine-Managed Correlation
  24. Event Handling
  25. Fault Handling
  26. Simulating and Debugging
  27. Deploying Your Processes
  28. BPEL Unit Testing
  29. Creating POJO and XQuery Custom Functions
  30. Custom Service Interactions
  31. Process Exception Management
  32. Creating Reports for Process Server and Central
  33. Business Event Processing
  34. Process Central Forms and Configuration
  35. Building a Process with a System Service
  36. Human Tasks
  37. BPEL Faults and Reports

2. Designer

2. Designer

Adding an Attachment for Simulation

Adding an Attachment for Simulation

You can add an attachment to a variable to simulate the attachment that a running process would normally receive and send. You can also add properties to the attachment and then manipulate properties with the
getAttachmentProperty
function. For details, see
Custom Functions for Manipulating Attachments
.
For a discussion of simulation, see
Simulating Execution of a BPEL Process.
To add attachments to a variable for simulation:
  1. From the Process Editor canvas, select a receive, invoke, onMessage, or onEvent activity.
  2. In the Properties view, under Simulation, do one of the following:
    • For a receive, onMessage, onEvent, click the
      Dialog (...) Button
      at the end of the
      Input Attachments
      row
    • For an Invoke, click the Dialog (...) Button at the end of the
      Output Attachments
      or
      Fault Attachments
      row
  3. In the
    Input/Output/Fault Attachments
    dialog, select
    Add
    .
  4. In the
    Attachment
    dialog, select either
    File System
    or
    Project
    for an attachment location, and browse to select an attachment.
  5. Notice that known content properties are identified. For example, if you attach a GIF image, the Content Type is
    image/gif
    .
    Note that the
    X-Size
    property that is added to indicate the size of the attachment in bytes.
  6. If desired, edit the known properties, or add a new property as follows:
    1. Select
      Add
      to open the
      Attachment Properties
      dialog.
    2. Type in a
      Property Name
      and
      Value
      . Note that the property must be a known property of the attachment.
    3. Click
      OK
      .
  7. Click
    OK
    to close the
    Attachments
    dialog.
  8. To add another attachment, select
    Add
    on the
    Input/Output/Fault
    dialog, and continue adding an attachment.
After adding attachments, start simulation, as described in
Starting and Ending Simulation of a BPEL Process.
During simulation, open the process variables that have attachments. As the process receives, sends, or copies attachments, you can view the results in the Process Variables view.
Attachment properties must conform to known properties. For details, see abx:getAttachmentProperty in
Custom Functions for Manipulating Attachments
.


Updated March 30, 2020