You are viewing limited content. For full access, please sign in.

Question

Question

Assigning tasks from a form field value.

asked on February 28, 2017 Show version history

I am trying to assign tasks based on a user selection of a drop down field that is being populated by a lookup.

The individuals in the drop down are licensed users and I have assigned them access rights to the process.  I am placing the field variable in assignment "Users" field, which should be populating that field with the user's full name.

But the assignment is not working and the process is being suspended.

I'm wondering what I'm missing? Do I need the form to supply the actual User Name that LF Forms uses?

0 0

Answer

SELECTED ANSWER
replied on February 28, 2017

You can use JavaScript for that.

//add domain in front of 4x4
  $('.name input').on('change lookup', function() {
    if($(this).val().indexOf('domain\\') == -1) {
      $(this).val('domain\\' + $(this).val());
    }
  });
  //end add domain in front of 4x4

Just change domain to your domain name.

1 0

Replies

replied on February 28, 2017

If the user is a Named User license the value to assign it correctly has to be in the formatting of domain\username. If it is a participant license the value has to be their email address.

1 0
replied on February 28, 2017

Thank you Blake,

That's what I figured. Now I just have to figure out how to concatenate the domain path to the UNs before I pass it to the assignment field.

0 0
SELECTED ANSWER
replied on February 28, 2017

You can use JavaScript for that.

//add domain in front of 4x4
  $('.name input').on('change lookup', function() {
    if($(this).val().indexOf('domain\\') == -1) {
      $(this).val('domain\\' + $(this).val());
    }
  });
  //end add domain in front of 4x4

Just change domain to your domain name.

1 0
replied on February 28, 2017

Hey thanks, I was trying to do it within the form but it didn't work. This was my next step.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.