How can i create two VRA records at a time .

sushma9
Tera Contributor

Hi Team,

 I have requirement  where i need to create the two VRA records  and the vra record will be created when i clicked on the  Create VRA  UI Action . as of now when i am clicking on the UI Action Only one VRA record is creating and i need to create two VRA records at a time . How can i achieve this .

1 ACCEPTED SOLUTION

Hi @sushma9 ,

 

If u want to create two records then u can apply for loop here n check. Something like this

for (var i=0;i<2;i++){
if(i=1){
gr.short_description = 'test2';
}else{
gr.short_description = 'test1';
}
}

 

Thanks,

Danish

 

View solution in original post

16 REPLIES 16

Danish Bhairag2
Tera Sage
Tera Sage

Hi @sushma9 ,

 

Could pls share wht is the current script u have in ur ui action.

 

Thanks,

Danish

 

@Danish Bhairag2 

I have sent the script .Can you please check

 

Hi @sushma9 ,

 

So two records should be created with the same info?

 

Thanks,

Danish

 

1 . What if i like if i want to chnage the info and create the another record .

2. Yes . If same info is created then how can i create two records