Forum Discussion
RobbSalzmann
Valued Contributor II
Tony, Can you show us where do we get the reference to the runtime instantiated XFFormSummaryInfo object? The code above looks like it would yield an Object not set to a reference error.
Krishna
2 years agoValued Contributor
Dim wfClusterPk As WorkflowUnitClusterPk = BRApi.Workflow.General.GetWorkflowUnitClusterPk(si,"Act_GLLoad.Forms","Actual","2023M1")
'Get Forms
Dim objXFFormsForWorkflow As XFFormsForWorkflow = BRApi.Forms.Metadata.GetForms(si, wfClusterPk)
'Get Required Forms
Dim objlist As List(Of XFFormSummaryInfo) = objXFFormsForWorkflow.RequiredFor
For Each objformlist As XFFormSummaryInfo In objlist
objformlist.Name
Next
Related Content
- 11 months ago
- 10 months ago