The M-Files Community will be updated on Tuesday, April 2, 2024 at 10:00 AM EST / 2:00 PM GMT and the update is expected to last for several hours. The site will be unavailable during this time.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

First workflow state

I just want to check before shooting myself in the foot. Will this always have the first state (as per the order in the workflow properties) targetWorkflowStates[1]?

var targetWorkflowStates = vault.WorkflowOperations.GetWorkflowStates(targetWorkflowID);

I have tested and it looks like it will always return the first state (I changed the order of the states) but just want to make sure just incase.

Thanks

Parents Reply Children