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
Hello tenikark3024
you can use the local!caseDataNum instead of rule input in the a!forEach() of your task Details.Also is there a reason why you are trying to achieve this using a!writeRecords() instead of running a process. More benefits using process to write data as it would give you precise details.
I have tried it with local!caseDataNum but the records weren't creating in database.
I have tried with process model but I couldn't achieve it so I have used a!writeRecords() function.