User identified in form is not getting assigned as task participant
Hi, Hoping someone can help me! I have a form that the process initiator would fill out. One of the fields on the form is to identify the Contract Owner so that a task would later get assigned to that user. However, when I test it, I have User A fill out the form and make me the Contract Owner, I receive the email that I have a task assigned, but when I try to open the task, I am being told that the task is not assigned to me, but instead, it is assigned to User A.
The user name value in the contract owner field is prefaced with the domain name\username, and it is assigned correctly (i tested this by having this value written to an email that is generated as part of the process), but for some reason, even though the task is assigned to me, and i get the email, i still cannot open the task because i am given the error message that it is assigned to another user (which happens to be the person who submitted the form).
Thank you!
-
Hi, I have added more screen shots in case this helps -
In the form, I ask the user to select the Contract Administrator (this is contractowner5), but the value is saved as an email address (I need it this way).

I then created another not visible value (ContractOwnerDomain) on that form to store the domain name and user id (using the javascript below) to assign to the task later on in the process.

I also added in the following javascript to keep only the userid and preface it with “acme_nt_dom\\”
function GetNetworkId()
{
debugger;
var ee = contractowner5.value;
var n = ee.search("@");
var name = ee.substring(0,n);
var netID = 'acme_nt_dom\\'+ name;
console.log(netID);
eFormHelper.setFieldValue({ fieldId: 'ContractOwnerDomain',value: netID});}
I then assign the task to the ContractOwnerDomain

But, when I test it, it gets assigned to agile_dev, rather than me, even though I was assigned at the contract administrator!

請登入寫評論。

評論
4 條評論