We are under construction!
You may experience downtime, errors or visual oddities, but we anticipate all will be resolved by the end of the day.
You may experience downtime, errors or visual oddities, but we anticipate all will be resolved by the end of the day.
Yeah sorry, the actual lists of forms are one level deeper, just change the For line adding .RequiredForms:
For each formObj as XFFormSummaryInfo in objXFFormsForWorkflow.RequiredForms
Intellisense is your friend...
JackLacava / Stulai ,
Can you help me with the declare of the WFProcess and WFStep?
We try to implement this rule our self but we cannot get the script into the "for each" loop.
Thanks in advance.
"For Each WFStep As String In WFEntities
For Each WFProc As String In WFProcess"
You know Workflow names, they look like "MyProfile.Import", right? That's what they are building in the line that goes Dim WorkFlowStep As String = WFStep & "." & WFProc - WFStep would be "MyProfile" and WFProc would be "Import".
Now, in this case, they are populating WFStep with each string contained in a list called WFEntities, and WFProc with each string contained in a list called WFProcess. So before all this code, they probably have something like:
Dim WFEntities as New List(Of String)
WFEntities.Add("MyProfile")
WFEntities.Add("SomeOtherProfile") ' etc etc
Dim WFProcess as New List(Of String)
WFEntities.Add("Import")
WFEntities.Add("Forms") ' etc etc
Does that make sense ?
Looking at the name of their variables, they've probably used Entity names when naming their Profiles.