In this tutorial you will use the JSM_BINDSCRIPT activity in a Processing Sequence.  The JSM_BINDSCRIPT activity will use the JSM Binding Script Configuration that you created in the previous tutorial.

  1. Open LANSA Composer and complete the connection to your LANSA Composer server.  Select Processing Sequences in the Navigator at the left.  Then click the New tool button to create a new Processing Sequence.  The Processing Sequence Editor window will open.
  2. Click the Parameters tab and add two inbound and one outbound Processing Sequence parameters as shown:
  3. Click the Details tab.  Then click the Activities tab in the left pane and locate the JSM_BINDSCRIPT activity and drag and drop it into your Processing Sequence.
  4. Note that an informational message 'Iterator item is empty' appears in the Errors tab.  This is normal and can be ignored.  The JSM_BINDSCRIPT activity is defined as an iterator activity to facilitate its use with more complex solutions.  For this tutorial, we have no need to use the iterator capability.
  5. In the Configurations tab in the left pane, locate the CURRENCY_XRATE JSM Binding Script configuration you created in the previous tutorial.
  6. Drag and drop the CURRENCY_XRATE configuration into the JSMBINDCONFIG parameter of the JSM_BINDSCRIPT activity.
  7. Click the Save tool button.  When LANSA Composer warns you about errors and warnings in the Processing Sequence, click Yes to save the Processing Sequence anyway.  Then complete saving your Processing Sequence as follows.  Be sure to select Active in the Status dropdown:
  8. Close the Processing Sequence Editor window.

Now continue with the following step:

JSM014 - Test Your Solution

  • No labels