Salesforce

GetFlowID (Magic xpi 4.5)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

GetFlowID (Magic xpi 4.5)

Retrieves a flow by name.

Syntax:

GetFlowID(Alpha flowname, Numeric bpid)

Parameter:

flowname: The flow name.

bpid: The business process ID.

Returns:

The ID of the first encountered flow with the given name. -1 is returned if the flow was not found.

Example:

GetFlowID ('Flow - 2',1).

Reference
Attachment 
Attachment