Skip to content

Record Reference polymorphic lookup

Andrii Butenko edited this page Mar 21, 2018 · 1 revision

Unfortunately it's not possible to make input argument of lookup type for custom workflow activity that references several entities. To make it possible I reused great idea of MVP Scott Durov - usage of Record Url. Here is how it works - when you see somewhere "Record Reference" input argument - use "Record Url (Dynamic)" to pass correct value to step:

In some cases you want to ass some predefined value into "Record Reference" in this case you can use following JSon for it - {id: "Record Guid", entityType: "account"}.