Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Create Multiple Task from Record Producer

osni seca
Kilo Expert

I have record producer with two string variables on the form.

Variable A and Variable B

I would like to have two tasks created on the same tables [sn_audit_task] when user submit the request. 

On the Task0001 i would have Variable A populated

On the Task0002 i would have Variable B populated

The script I have does not seems to do the trick

Any help or thoughts and ideas?

 

OS

1 ACCEPTED SOLUTION

Cheers

Will take a look

OS

View solution in original post

8 REPLIES 8

Hi Utpal

I just managed to create multiple tasks when RP is submitted by the end user. But the first Task (Task001) is the only one getting populated with values end-users input.

So:

Variable A and Variable B are getting populated on the TASK001 record

Variable A and Variable B showing empty on the TASK002 (if I could managed to get then populated here would be massive step already)

OS

Pratiksha Kalam
Kilo Sage

Cheers

Will take a look

OS

osni seca
Kilo Expert

Hi guys

 

I finally managed to create multiple task from RP on the GRC Audit Application table [sn_audity_activity]. My problem is mapping does not populate any value on the that table. So,

i created a field on the [sn_audity_activity] table called u_test [string]

I also created another field called u_test [string] on Record Producer

 

When i submit the form multiple tasks gets created but value of the u_test on the form is empty

 

Any ideas?

 

OS