Procedure
-
Click the task labelled Step2 in the process design
workspace, click the tools icon which is on the bottom-left corner, and then
select the Human icon.
The task type is changed to Human.
-
From the General view, select the
Actors tab, click the
Choose... button to open the Assign
actors dialog box.
-
Select Initiator and click Finish
to close the dialog box.
-
From the Application view, click the Entry
Pageflow tab and click the Add... button
next to the first table.
-
Select the Create a new form option and click
Next.
-
On the next step, configure which variables will be shown on the form. Select
the cRM_Status check box and click
Finish.
A form will be created that will display the
CRM_Status variable in the process Web User Interface
to show the returned status.
-
Run the process.
After deploying the bundle, the studio opens the Web page in your
default browser.
-
Click the Submit button to start the process and
complete the first step.
-
Fill in the user name field and click the
Submit button.
Results
The CRMService (getCRMInformation) operation is called and the
username parameter is populated with the user-specified
value.
After a few seconds, the Step2 form is returned by the server,
showing the result of the operation, and Talend ESB shows the corresponding log
messages.