How to add multiple records using write records?

Certified Senior Developer

Hi all,

I have a requirement of creating multiple tasks at a time when a new case is added based on a dropdown field.

I have used a!writerecords function and have achieved creating multiple records at a time but I have to related the newly created multiple records with a single ID.

I tried it with local variable, tried with expression rule and tried with a rule input of integer field.

I have saved new primary key of the case in a local variable and later saved it in integer rule input using a!save in button. In interface level it was showing that the value is added but the it is not being saved in database.

  Discussion posts and replies are publicly visible