Share via

Unknown Error when using User Role to set Field value

  • Anonymous
    Member
    # 3 years, 11 months ago

    I have a form with a “Location” field that should be preset if the Role of the user filling in the form is “Storekeeper”.

    I therefore have the following ‘Created or Edited’ -> ‘Load of the Form’ workflow:

    However, whenever a user with the Storekeeper role tries to open the form, they get the following error:

    admin
    Keymaster
    # 3 years, 11 months ago

    Try:

    if( thisapp.portal.loginUserProfile() == “Storekeeper” )

    Anonymous
    Member
    # 3 years, 11 months ago

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)

Reply