Information on this page is only applicable to M-Files (server) version 12.0.6783.0
and higher.
Workflow ID by alias
/structure/workflows/itemidbyalias/(alias)
Resolves a single workflow alias to its ID.
The alias should be URI-encoded. If resolving multiple aliases, or your alias contains the character \
, then it is recommended to use /structure/workflows/itemidbyalias, or /structure/metadatastructure/itemidbyalias.
GET
Output: | int |
Returns the ID of workflow with the given alias, or -1 if none could be found. |
If multiple workflows have the same alias then -1 will be returned.