Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormID #163

Closed
Ultradata-CXP opened this issue May 15, 2019 · 1 comment
Closed

FormID #163

Ultradata-CXP opened this issue May 15, 2019 · 1 comment

Comments

@Ultradata-CXP
Copy link

We would like to be able to include the FormID in our workflows (specifically when sending emails). The UnquieId is not user-friendly and we do not want to show this to our customers.

Unfortunately the FormID is not generated until after all of the workflows have executed and the form record is stored.

Would it be possible to generate the FormID on submit, rather than at the end of the workflow execution so that we can include it?

Forum discussion here: https://our.umbraco.com/forum/umbraco-forms/95837-sending-id-with-email-when-form-is-filled-out

@bergmania
Copy link
Member

The ID you are referring to is the RecordId - Not the FormId.

This integer RecordId is generated when by the database when inserted and not the codebase it self, like the UniqueId.
For performance reasons, we don't want to go to the database to get the Id before we know what to save (Workflows can change values).

Workaround:

If you add the workflow under "On Approved", the record has the integer RecordId when executing the workflows.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants