- From the General view, select the Connectors tab and click the Add... button.
Then in the connector wizard select Next.
and then click
Name the connector CRMService_getCRMInformation and
Select the Use Service Locator option and select the
CRMServiceProvider line from the available services
list, and then click Next.
From the Operation list, select
getCRMInformation, expand the Whole
variable node, select username, assign
the value of the username variable to it by clicking its
Value field and selecting the variable, and then
Select the Use Service Locator and Use
Service Activity Monitoring options.
Select the Use Security check box, select
Basic from the Security Type
list, and enter tadmin in both
Username and Password fields,
and then click Next.
Click the Create data... button.
Name the variable CRM_Status, clear the
Auto-generate form check box, and click
Finish to close the variable window.
Select the output connector named output..., expand the
Whole variable node, select
status, and then click OK to
close the window.
In this way, a request to the CRMService (getCRMInformation) Operation is defined with a user name as a request parameter and the status of this user within the CRM Application as a result.
What to do next
Next, you need to display the CRM_Status variable in a process Web User Interface to show the returned status.