how to generate a task for custom table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2017 08:47 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2017 09:03 PM
Hi,
You can user Run script activity to create Task and in related lists you add Task for your custom table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2017 09:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2017 02:31 AM
Hi priya,
In my workflows core part it does not show any Task activity.That is the issue in my workflow.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2017 02:50 AM
Hi ABC,
Create task activity will be shown for the table that was extended from task table. If your table was not extended from task table, then you have to use run script activity for inserting a new task in your custom table.
Activity Designer - Run Script - ServiceNow Wiki - Run Script Activity
var gr = new GlideRecord('custom_table_name');
gr.initialize();
// set the values and finally
gr.insert();