I have created a Skuid page that overlays Contact
record pages. There is a "New" button which creates a new Task
record. on load of this new Task
record, I wish for a TaskRelation
record to be created and prepopulated with the associated Contact
record.
To do this I am going to need the Id
from the Task
record and populate the TaskRelation
record. Is it possible for me to get the Id
from the new Task
record before it has been saved? Or is the Task
Id generated on save?
Use case: This is so the user knows the Contact
has automatically been added associated with the Task