This Specification Macro Task creates a New Product in SalesForce.
Title | Changes the Title (not the name) of the Task. |
Active | Create this as an active Product (True/False). |
Product Code | This is the Product Code for the new Product as text. |
Product Family | This is the product family for the new Product (Optional). |
Product Name | This is the name for the new Product as text. |
Product Description | This is the description for the new Product as text (Optional). |
Custom Data | Data for custom fields in the format CustField1=Custvalue1|CustField2=CustValue2 (Not Required). For custom fields, created in SalesForce, the end of the field name is to be suffixed with __c. For example: DateAdded__c=value Note - there are two underscores before the c. |
Return Constant | The name of the Constant that the new Product ID will be posted to. |
When this Task is added the properties are static. To be able to build rules on a static properties see How To: Change A Static Property To A Dynamic Property.
Property Name | Example Rule | Example Result | Meaning |
---|---|---|---|
Active | TRUE | TRUE | TRUE will create the Product as Active. FALSE will not. |
Product Code | "DS-4HR" | DS-4HR | This is the Product Code you wish to give the new Product. |
Product Family | "Services" | Services | This is the Product Family you wish to categorize the Product as. |
Product Name | "Design Consulting x4 Hours" | Design Consulting x4 Hours | This is the Name for the Product you are creating. |
Product Description | "Design Consulting for 4 hours with one of our design team." | Design Consulting for 4 hours with one of our design team. | This is the description of the Product you are creating. |
Custom Data | "Supplier__c=SupplierReturn" | Supplier__c=InHouse | This will populate the custom field Supplier with the contents of the Supplier Control. Custom field suffix Please see the caution for the Custom Data property in the Properties table above, regarding using a suffix for Custom Fields. |
Return Constant | "DWConstantAddNewProduct" | DWConstantAddNewProduct | This is the name of the Constant that will be reported to with the Product ID. |
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.
This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.
The status output navigation is as follows:
Success
Success with Warnings
Failed (one of the following occurred)
Record ID - the task will return the Record ID of the entity that has been created or updated.