Forum Discussion
MarcusH
21 days agoValued Contributor
This works for me on an item that has input forms:
Dim wfStatus As WorkflowInfo = BRApi.Workflow.Status.GetWorkflowStatus(si, si.WorkflowClusterPk, True)
Dim wfTask As TaskInfo = wfStatus.GetTask(New Guid(SharedConstants.WorkflowKeys.Tasks.InputForms))
If Not wfTask Is Nothing Then
If wfTask.Status = WorkflowStatusTypes.Completed Then
.......
BeatlesForever
19 days agoNew Contributor III
Many thanks, Marcus. I tested your code with a workflow that ends with the Import step. It only enters the Complete section when the task status is "InProcess." I have created a ticket to request OS support.
Related Content
- 12 months ago