Skip to main content
stephaniek0003
April 10, 2022
Solved

User Picker populates then goes blank

  • April 10, 2022
  • 7 replies
  • 0 views

Hi all - I'm having trouble with the User Picker field to populate a rule input with a specific user.  I'm able to search and select a user. it shows for a split second then goes blank again.  When run in Design Mode, it does populate my rI! field, but at runtime, just shows then goes away. What am I missing?

    Best answer by stefanhelzle0001

    What does runtime mean in your case? Rule inputs must be backed by task or process variables. Did you check this?

    7 replies

    gopalk2865
    Participating Frequently
    April 10, 2022

    Hi, I think your value is not getting saved. Can you check your value and saveInto parameter of the picker field? If possible try to print the value on ui and see whether your selected value is getting saved or not. It also happens when you use sub interfaces and rule inputs are not mapped properly between parent and child interface.

    stephaniek0003
    April 10, 2022

    Right, it's not getting saved.  When I test in Design Mode,  it does save to the rule input, just not a  runtime. I tried creating the ri as a text datatype and also as  User datatype.   And both  as an array and not array.  Regardless, shows saved in Design, but not at runtime.

    I AM able to save it to a local variable, (which shows the user name as an array  with the UserIdentifier), but not sure how to get from localV to RI.  The local DOES save and stay populated runtime.

    stefanhelzle0001
    Brainy
    April 10, 2022

    What does runtime mean in your case? Rule inputs must be backed by task or process variables. Did you check this?

    harshitb6843
    April 10, 2022

    Your selectedLabels might not be working correctly. Check if it is not showing in the field or its not even getting saved in the RI.