Hi,
i am using a!pickerFieldUsers() i have added the instruction, if no user present in XX group ,no search found would be displayed, but after entering and selecting the user, the instruction would appear for short time[1sec] and then disappear
a!pickerFieldUsers( label:"User", labelPosition: "ADJACENT", maxSelections: 1, instructions: if( rule!APN_isBlank(ri!user), "If user you search above is not present in XX, you will see No results found. ", null ), placeholder: "Type to search for the user", groupFilter: local!users, value: ri!user, saveInto: { a!save(ri!user, save!value), a!save( ri!user, ) }
)
Discussion posts and replies are publicly visible
If your goal is to indicate to the user that no user is present to select given the input - I think there is no indication needed here.
If your goal is to indicate that the selected user results in no relation with X group, then another approach would be to conditionally show an alert banner or rich text for this situation.
swathit0001
whats your code in the last line. It seems to be missing the value to save.
a!save(ri!user,)
It also looks to be redundant. Can you remove this and retry.
Also, if your instruction is appearing for just 1 sec after you select the user, it could just be processing like do you see the progress line at the top that appian is processing your input ?
ignore that, i have to remove it, forgot to comment