Defining the Task Script
A script defines how the data entered by the user is processed.
Procedure
-
Select the
Set Response
script task.
-
On the
General tab of the
Set Response task, select
JavaScript from the drop-down list in the Script Defined As: field.
-
In the
Describe Task Script:
field, type:
myResponse = com_example_serviceprovider_Factory.createResponse();
myResponse.combinedName = myRequest.forename + " " + myRequest.surname;
-
Select the End event and on the
General tab set the Result Type to Message.
Copyright © Cloud Software Group, Inc. All rights reserved.