From Bright Pattern Documentation
Jump to: navigation, search
• 5.19 • 5.3 • 5.8

Microsoft Dynamics Create Object

Microsoft Dynamics Create Object scenario block


The Microsoft Dynamics Create Object scenario block creates a specified object in the Dynamics 365 database. You may find it useful to pair this block with the Microsoft Dynamics Search Object block; if you search the Dynamics 365 CRM database for an object and do not find it, you can opt to create that object.

Properties

Microsoft Dynamics Create Object properties


Title text

The name of the instance of the block (any name).

Object type

The type of object you want to create in the Dynamics 365 database.

Select from one of the following types:

  • Account
  • Case
  • Contact
  • Contract
  • Invoice
  • Lead
  • Opportunity
  • Order
  • Quote

Variable name for object ID

The name of the variable that will be used as identifier for the Dynamics 365 object to be created. The variable name of the object ID will be set only if the block succeeds.

Set fields

This setting is reserved.

Raw JSON

Where object properties are specified in JSON format.

The code and the body of the received HTTP response will be stored in local variables $(integrationResultCode) and $(integrationResultBody), respectively.

For troubleshooting purposes, use the EMail or Internal Message block to obtain content of responses indicating a failed attempt to create an object. For more information, see the description of variable $(integrationResultBody).

Conditional Exits

If the create operation has failed, the block will take the Failed exit.


< Previous | Next >