Forum Discussion
MikeG
2 years agoContributor III
If there is one and only Entity for each Form task, consider entering that 1 Entity as the |WFText1| property, on that Scenario Type on the Workflow Forms task. Easy to grab by way of code in the EventHandler.
- Krishna2 years agoValued Contributor
Thanks for the suggestion. Below is the code
Dim A As String = String.Empty Dim B As String = String.Empty Dim C As String = String.Empty For Each wpf As WorkFlowProfileInfo In objList B = (wpf.Name.Split(".")(1)).Trim 'brapi.ErrorLog.LogMessage(si,B) ' C= B.Split(wpf.Name,"." (1)) If wpf.Name.StartsWith("USA") Then 'brapi.ErrorLog.LogMessage(si,wpf.Name.Length) A = wpf.GetAttributeValue(ScenarioTypeId.Actual,sharedconstants.WorkflowProfileAttributeIndexes.Text1) If a.Length > 1 Then brapi.ErrorLog.LogMessage(si, "WFName---" & wpf.Name & "---TextValue---" & A) End If End If Next
Related Content
- 12 months ago
- 4 months ago
- 12 months ago