Hello,
I'm wondering if it's possible to trigger creating a task within a custom function, but basing it on a template like in a normal workflow?
The problem with sticking to workflow creating my tasks is that it just doesn't care about duplicating, and likes to keep adding the same task every time the workflow runs, and it's too hard to bypass... If I used a deluge script, I could just manually check if the ticket doesn't already have a task with the same subject and description, but I don't see that option in API documentation? I can only create tasks by providing the function all the needed values, so I can't use a template for that.
I would need to type inside my function all the subjects, descriptions, calculate anew the due dates, etc, which just isn't worth anyone's time