
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2020 04:46 AM
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
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2020 05:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2020 04:53 AM
I would create one parent request and then a business rule (on After) that creates the two tasks. the BR can read the variables in the ticket and creates the tasks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2020 04:53 AM
Hey there,
Look for your problem you can't code on the Submit button of record producer. I have tried it and failed. So what you can do is create a Macro variable on your Record producer and Create a UI macro. Macro can be a button. Link the macro variable with UI Macro and in UI Macro you can write code to create task on any of your table.
I think this will work. Give it a try!!!
If it works then please mark my answer Correct and Helpful.
Thanks and Regards:
Utpal Dutta

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2020 04:58 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2020 05:03 AM