Fetches workflow title
To get the title of a workflow, use the getWorkflowTitle
method.
The code for that would be:
$workflow_api->getWorkflowTitle();
The method does not require any parameters and returns a string with the title of the workflow. For example: "Workflow001".
caution
It is important to remember that the getWorkflowTitle method must be called within the correct context, that is, within the code that is being executed in the configured external application.