Information on this page is only applicable to M-Files (server) version 12.0.6783.0
and higher.
Workflow state transition ID by alias
/structure/statetransitions/itemidbyalias/(alias)
Resolves a single workflow state transition 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/statetransitions/itemidbyalias, or /structure/metadatastructure/itemidbyalias.
GET
Output: | int |
Returns the ID of workflow state transition with the given alias, or -1 if none could be found. |
If multiple workflow state transitions have the same alias then -1 will be returned.