I have a field with default value: {/dataset/_instance_id}
Field with instance id is blank
I'd like it to show the instance ID. Is it possible before the form has been submitted?
I have a field with default value: {/dataset/_instance_id}
Field with instance id is blank
I'd like it to show the instance ID. Is it possible before the form has been submitted?
The instance ID is assigned when the instance starts after the form submission. So you can show it on forms in users tasks and such, but not on the starting form.
The was my initial thought as well. Use the field with the instance ID on the last form at least for storage purposes in Laserfiche. But the field is still blank upon storing to Laserfiche. The metadata field for that same value on the other hand is working just fine.
This is not the submitted form for the approval process.
Value in Special Request # is: {/dataset/_instance_id}
Never mind. Interestingly enough when I assigned the approval to me it then filled the value as it should.
That makes sense. The initial submission would have the "original" value from the submission time. When the form gets to your user task, the process has started, so there's a submission ID to be populated in the field.
I'm not seeing that behavior, the user task using the same form still shows the field as blank.
I have it as read-only and I am the approver and I can see it. The form used it not the form used on submission, I have an Approver Form in the process. It's visible for me.
Yeah, ok, the separate form explains it then. That would be populated after the process starts.
I'm struggling with a similar design issue. I need a "Transaction ID" field that is unique for every form submitted. This "Transaction ID" needs to be printed on the form the public user submits so they have a record of it if they need to call customer service with a question. We also need it to easily match up the online payment confirmation receipt that is coming from our payment partner. The "Transaction ID" field will also be add to the Laserfiche template so we can quickly search for that form by the "Transaction ID" in the Laserfiche repository. Does anyone have a solution they can share? The issue is assigning a unique ID number before submission.
I recommend you post this as a new question and link this old one. That way you can get it on the recent board and people will look at it.
Good luck!
I ran into the same problem and recently solved it! I discovered that although the ID# will not fill on the very first submission for the reason Miruna mentions, the solution is: If I don't have that field on the first submission form and introduce the field for it on the first TASK form, it holds the ID#. I had to delete the field off the first submission and suddenly the field on the second and subsequent task forms all held the ID# and I was able to assign that ID anywhere I wanted after that!