Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bo Damgaard Mortensen 709 posts 1186 karma points
    Oct 09, 2018 @ 13:13
    Bo Damgaard Mortensen
    0

    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.

  • Alex Skrypnyk 5329 posts 19613 karma points MVP 3x admin c-trib
    Feb 18, 2019 @ 14:31
    Alex Skrypnyk
    0

    Hi Bo

    Struggling with the same issue, did you solve it? record.Id = 0 at workflow stage.

    Thanks,

    Alex

  • Alex Skrypnyk 5329 posts 19613 karma points MVP 3x admin c-trib
    Feb 25, 2019 @ 16:16
    Alex Skrypnyk
    0

    Hi

    Did you find a solution for this topic? Can you share with our community?

    Alex

  • Bo Damgaard Mortensen 709 posts 1186 karma points
    Mar 05, 2019 @ 08:10
    Bo Damgaard Mortensen
    102

    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

  • Alex Skrypnyk 5329 posts 19613 karma points MVP 3x admin c-trib
    Mar 05, 2019 @ 09:05
    Alex Skrypnyk
    0

    Thanks, Bo, it looks like a solution for Id problem.

  • Bo Damgaard Mortensen 709 posts 1186 karma points
    Mar 05, 2019 @ 09:26
    Bo Damgaard Mortensen
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft