Is there any way to get the id of the record after the form has been submitted successfully?
Working on a project where I'd be ideal to reference the UFRecords table from other datasources.
Been looking at a custom workflow, but the record is not stored in the database at that point. Also, the event model doesn't contain a AfterInserted event.
I think that's the reason why the UniqueId field was introduced first-hand :-) To be able to get a reference to the record without knowing the id of it.
Get record id after submit
Hi all,
Is there any way to get the id of the record after the form has been submitted successfully?
Working on a project where I'd be ideal to reference the UFRecords table from other datasources.
Been looking at a custom workflow, but the record is not stored in the database at that point. Also, the event model doesn't contain a AfterInserted event.
Anyone had any luck with this before? :-)
Thanks in advance.
Hi Bo
Struggling with the same issue, did you solve it? record.Id = 0 at workflow stage.
Thanks,
Alex
Hi
Did you find a solution for this topic? Can you share with our community?
Alex
Hiya Alex,
Solved it using the UniqueId rather than the Id :-)
The UniqueId is accessible from the custom workflow on record.UniqueId. Simply used that as my reference to the record.
Hope that helps. If not, please let me know!
/ Bo
Thanks, Bo, it looks like a solution for Id problem.
I think that's the reason why the UniqueId field was introduced first-hand :-) To be able to get a reference to the record without knowing the id of it.
is working on a reply...