The example shows how to retrieve leads from Salesforce and create corresponding leads in
Microsoft dynamics 365 using a flow service.
Before you begin
- Check whether you have the developer and admin roles assigned from the
page.
- Click Managing roles for information on how to manage roles and project
permissions.
- Obtain the credentials to log in to Salesforce CRM and Microsoft dynamics 365 CRM back end accounts.
- In webMethods Integration,
create Salesforce CRM and Microsoft dynamics 365 CRM
accounts.
About this task
You must get leads from Salesforce CRM and create corresponding customer leads in Microsoft dynamics 365 CRM.
Procedure
- Select the project where you want to create the new flow service. You can also create a
new project.
- Click Flow services tab and on the flow
services page, click the Add icon.
- Provide a name, for example, SalesforceToMSDynamics365CRM, and an
optional description for the new flow service.
- Type Salesforce in the search box and select Salesforce
CRM.
Tip: In a flow service step, you can complete search in one of the following ways.
- Alias-based search: Type a keyword and the matching results are
displayed. The list of supported keywords for alias-based search are as follows:
- map
- Transform pipeline
- iteration/loop
- While,
Do Until, Repeat, Repeat for Count,
Repeat-Input/output
- selection/condition
If, Else, If Else, Else If,
Switch, Branch, case
- jump
- Break, exit.
- exception
Try, Catch, Finally, Try
Catch, Try Finally, Try Catch Finally.
- Restricted scope search
- Type a keyword followed by a pipe symbol or space or tab to search within a specific scope, for
example, to search within flow services, type
fs|. The list of supported keywords
for restricted scope search are as follows:
-
- Ctrl
- Controls
- con
- Connectors
- fs
- Flow services
- svc
- Services.
- Select the queryleads operation.
- Select the SalesforceCRM_1 account. You can also create or
configure an account inline.
- Click the Add icon to add a new step.
- Type
repeat select Repeat to create a repeat
step, and then select the Lead option.
- Select Microsoft Dynamics 365 CRM and
then select the associated createLead action.
- Select the msdynamics_1 account. You can also create or configure
an account inline.
- Click the Mapping icon to map the input and output
fields.
- Click the Pipeline Input fields (FirstName and LastName) and drag
it to the service input (firstname and lastname). The service output is automatically mapped to the
Pipeline Output by a dotted line.
- Save the flow service and run it by clicking the Run
icon.
What to do next
View the flow service execution results of the flow service after a successful run. For example,
the lead ID generated is acf4f843-2970-ea11-a811-000d3a4da920. You can also
download the execution results for further analysis.
Note: If a value is null for a field or if the data type is unknown, then the obj
(object) icon is displayed.
Note: By default, all flow service execution results are retained for 30 days. You can optionally
specify the number of days (up to 30 days) for which you would like to retain the flow service
execution logs by clicking the Modify Retention Period link available at
. Once the retention period is over, the
flow service execution logs are deleted automatically.