I have trouble defining which formula to use for below description:
The application has agent to send email notification for first and second reminder. The user who already reply to the form does not need to send reminder but the user who has not reply to get first reminder notification when agent runs.
I have three hidden fields in the main form. First field store the user name who response the main form, second field is doing lookup from profile document of all the user names, and third field compares with first and second field to see who didn’t response and set those names to this field so, when agent run will lookup this field and send email out.
I am not sure which one to use @Compare or @Matches.
Formulas:
first field is computed name data type with allow multi-value with @Name([CN];@UserName) formula.
second fields is same as first field with @Name([CN];@Unique(@GetProfileField(“ProfileList”;“MgNetwork”))) forumla.
third fields is same as firs field with mat:=@Elements(@Matches(“MgResp”;“MgNetworkUser”));
@If(mat!=“”;@SetField(“MgNotResp”;mat);“”) formula.
Please advise.
amp