Need to create a task indicate a creation of a record

Keerthi Lakshmi
Tera Contributor

Hi there,

 

I am creating a workflow where I need to automate creating a record in a table. The clients wants to add a task which should indicates that whether the record craeted successfully or not. 

 

How can I do that? Can anyone guide me?

 

3 REPLIES 3

SAI VENKATESH
Tera Sage
Tera Sage

Hi @Keerthi Lakshmi 

 

 

cn109.PNG

 

Run script:

var gr=new GlideRecord('incident');
gr.initilaize();
gr.short_description="from workflow";
gr.insert();

You can try in this way.

 

Thanks and Regards

Sai Venkatesh

Do we need to create two catalog task?

Hi @Keerthi Lakshmi 

 

We can do by using one task or two task it is purely based upon the requirement 

 

thanks and regards 

Sai venkatesh