I am trying to get the below work with an if statement but no luck - I want the confirmation to DISPLAY and only DISPLAY when SBAR = "Y"
it looks like my approach is not the right one..., Any ideas?
Thanks
Not knowing what the definition of your SBAR variable is, I suspect one of these two variants would work (if not both):
Draft.CreateDraftJobRequisition is an ActionOverride Exit Rules if (SBAR = SBAR.Y) confirmation required "AfterSavingThisDraftYouMustGoBackAndAttach"
and/or
Draft.CreateDraftJobRequisition is an ActionOverride Exit Rules if (SBAR = "Y") confirmation required "AfterSavingThisDraftYouMustGoBackAndAttach"
Michael,
Your bottom example is the same as SBAR.Y, actually the LPL compiler changes to SBAR.Y.
Anyway, SBAR.Y followed by "confirmation required" makes it behave as SBAR is required which is not what I want. I want the confirming message to pop up, if SBAR is equal to "Y" only.
What type is field SBAR?
SBAR is a persistent user field with two states (Y and N), See below
JobRequisition is a BusinessClass owned by Recruiting
Persistent Fields
SBAR is Alpha size 1 States Y value is "Y" default label is untranslatable:"Y" N value is "N" default label is untranslatable:"N"
Create a derived boolean field return (SBAR=SBAR.Y). check if works
then try
if (derived field)
confirmation required
""
same issue but I think I found another way --- Thanks
Are you MT, ST or on prem, out of curiosity? If not MT, what is your Landmark version?
ST, 11.0.37.1.10 2020-12-09 18:07:53