Salesforce

GetFlowID (Magic xpi 4.9)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

GetFlowID (Magic xpi 4.9)

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