Forum Discussion
Yes you can bypass blank parameters. What is the error you are getting? You can use the args.CustomCalculateArgs.NameValuePairs.XFGetValue to return a default value if the parameter is blank.
Dim myParameter As String = args.CustomCalculateArgs.NameValuePairs.XFGetValue("MyParameter","Blank")
If myParameter = "Blank"
'Dont do anything
Else
'Do something
End if
The error message was "Summary: Error processing Data Management Step 'CopyDataFromLandAcqProforma'. Invalid parameter. Entity Filter, E#|!ml_InactiveNoStatus_WF_Entities!|."
Is your recommendation for namevaluepairs still aplicable for this error message? I don't believe this entity filter is being read as a parameter in the business rule.
- TheJonG5 months agoContributor III
No I don't think my reply is relevant to that error message. It looks like you haven't defined the |!ml_InactiveNoStatus_WF_Entities!| parameter in the parameters section of your DM step. You need to define it as e.g. EntityFilter = |!ml_InactiveNoStatus_WF_Entities!| and then put E#|!EntityFilter!| in the Entity Filter of the DM step. EntityFilter is just used as an example and can be any name you want.
Related Content
- 2 years ago
- 11 months ago
- 8 months ago