Showing posts with label Custom Workflow Activity. Show all posts
Showing posts with label Custom Workflow Activity. Show all posts

Tuesday, 20 August 2013

Custom Workflow Activity: To Retrieve GUID and Entity Name from a Lookup field

Below is a custom workflow activity that can be used to retrieve the GUID and the Entity Logical Name of a Lookup field, from the record that is calling the workflow. The output of this custom workflow activity can then be used in the workflow.

Inputs:
  • Attribute Name: Name of the Lookup attribute. If the input is blank, the ID and Entity Logical Name of the record calling the workflow will be returned as the Output.
Output:
  • Entity Name and Record ID of the Lookup field or the record calling the workflow.