Skip to main content
Nintex Community Menu Bar
Question

create parent record and then child record on row action

  • Jul 9, 2024 9:50 PM UTC
  • 7 replies
  • 43 views
  • Translate All

Forum|alt.badge.img+2

Can i create a parent record and child record on a row action?

I am displaying data from one object in a table. The table has a row action which should create a record in another object (Master) and then take the id of the newly created master record and create a record in the child object 

This topic has been closed for replies.

7 replies

Forum|alt.badge.img+18

You can absolutely do this. Your row action should “run multiple actions.” Within it, you’ll have two “create new row” actions.

Be aware that as soon as you create a row, the context for the rest of the action framework with be the newly created row.

Translate

Forum|alt.badge.img+2

Thanks! that helped

Translate

Forum|alt.badge.img+20

Also. Make sure the model for the parent record above the model with the child record.

Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 9, 2024 11:14 PM UTC

You guys are great!  Vineet, let us know if you can work this out.  The context iss ue that Matt mescribes is an important gotcha. 

Translate

Forum|alt.badge.img+2

yes, i have it setup that way

Translate

Forum|alt.badge.img+2

Yes, it worked. Thanks Rob!

Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • Jul 9, 2024 11:14 PM UTC

Glad to know… 

Translate