OK, rather than starting a new thread, I think the administrator(s) of this forum would probably prefer if I keep on adding to this one.
There are two things I wish for a workflow to do:
1. increment the value of a field in a related entity.
2. post the value of this field in the entity which is having a record created.
I haven't got either task to work. I am particularly perplexed that I can't get the value of the field in question to even appear in the record being created. This is despite many commentaries online showing how it works for others.
For the moment, I wish to focus on just #2 above. I wish to display the value of a field in a related entity. Here are the steps I have tried:
I have an entity. ("Entity 1".) This is the entity where I wish to populate a barcode with a unique number every time a new record is created.
I created a second entity. ("Entity1_Autonumber".) I added a form. I entered a single record. I gave the count field a value (10042). I defined a 1:N relationship with the second entity and the first.
I created a process. I indicated this is for Entity 1. I created a step. I chose "update record." My belief is that the record will be created and this process will kick off. For the step, I clicked "set properties."
A new window appears. I put my mouse in the barcode field. I went to the Form Assistant. I set these values:
Operator: Set to
Look for: I selected the second entity.
In the control below the "look for" I selected the field that I wish to carry over to the new record.
Click "Add."
Click "OK".
Yellow text appears in the field that I wish to populate. I save the workflow. I then Activate it. Then I "save and close" the open windows.
BTW, I'm doing this all in Internet Explorer.
To test the workflow I create a record in Entity 1. Then I run a query in SQL to see if the field that I wish to have populated from the related field has any value. It doesn't! The field is always empty.
Does anyone have any advice? All help is appreciated. Thanks.