Wrike Integrate - Example recipe that triggers only for new tasks (not for task updates)
Our use case:
A number of our Wrike Integrate recipes are intended to trigger only for new tasks, not when existing tasks are updated. Because Wrike's API & webhooks don't distinguish between new/updated tasks, we need a way to identify when a task is newly created vs. when an existing task has been updated.
We use a Wrike custom text field (available on the Business & Enterprise plans) named Wrike Integrate to identyify new vs. updated tasks. Our Wrike Integrate recipes are configured to trigger only when this custom field is empty/blank, and the first step of each recipe updates the task to add text to this field, which prevents the recipe from firing again on the same task regardless of how many times that task is updated.
To bulletproof this solution and prevent normal Wrike users from manually updating the value in this custom field, the field is shared only with our Wrike Admins.
Example Wrike Integrate recipe:
We have been using such method (checkbox field and trigger conditions) for a time, but have since transitioned to a different technique. The main reason - sometimes you may need different recipes to trigger in different order for one and the same task at different times. So I came up the following:
Admin Bot - I like this idea - thanks for sharing!
Can you give a sample code of what your Workato recipe looks like? Having a tough time replicating. It gives me an invalid error when I try to get folder ID for the first task to find out if it matches the folder I set up.
If you're able to post a screen shot of the exact error you're seeing, I might be able to help here, or Wrike Support can also assist if you prefer to open a private support ticket.
if you mean to replicate parent folder check i was talking about earlier.
One of the trigger conditions should look like what you see in the picture below
you check not the "Parent folder ID" because it will only check the first parent
but the whole array. "Parent folder". It is possible if you switch to formula mode and ".join" values of said array
Wow! Can't believe I missed that. I am definitely not a power user and just trying out Wrike Integrate. It is very powerful to help with day to day operations. Any way we can exchange contact information and I can ask a few more questions without clogging this thread?
Laura Boylan Thanks for the offer, but Serhiy fixed it.
My other issue is actually pulling the assignee name so that the supertask will automatically comment to that person. I can get the comment to apear but it @s the actual USERID and not the person. Maybe I'll start a new thread for this.
Kevin Tassistro Yes, please do open another thread for any issues you're having with your Wrike Integrate recipes, perhaps in the How To (or maybe the API and Developers) section. I'm happy to offer any help I can, and I'm sure there are other users (including Admin Bot) who will gladly offer assistance.
I'm not sure I fully understand your process, but it sounds like you may be trying to create a task comment that @mentions the task author, when a new task is created? But you also mention a supertask, so I'm not clear on what you're trying to accomplish. Are you trying to notify the assignee of a parent task, when a new subtask is created?