I have a task that sets the default story Description and creates several subtasks when an issue is created. It's working great for the most part. However, when a user CLONES an issue and mistakenly selects the Clone Subtasks option, it clones all of the existing subtasks plus creates a new set of subtasks since the story is also new.
How do I add a condition that checks for the existence of subtasks and only does the next action if the subtasks do not exist? 
Attaching what I have so far, but I'm getting an error:
"Parent issue ID: '203234' / Key: 'ABC-76' can not be sub-task. (issuetype), 2: Parent issue ID: '203234' / Key: 'ABC-76' can not be sub-task. (issuetype)"