Forum Discussion
FredLucas
7 months agoContributor III
Hi KhimCastillo,
I might have misunderstood your question, but if what you want is to loop through the list specified by the filter on your WFText2 you could try something like this:
'I've your WFText2 code here
Dim WFText2 As String = brapi.Workflow.Metadata.GetProfile(si,si.WorkflowClusterPk.ProfileKey).GetAttributeValue(ScenarioTypeID.ScenarioType1, SharedConstants.WorkflowProfileAttributeIndexes.Text2)
'Then use if as part of the MemberFilter (prefixing the U2# to the WFText2 filter).
Dim validUD2List As List(Of MemberInfo) = BRApi.Finance.Members.GetMembersUsingFilter(si, api.Pov.ud2Dim.DimPk, $"U2#{WFText2}", True)
Hope this helps.
Related Content
- 11 months ago
- 10 months ago