What can we help you with?

e.g. Gantt chart, Creating tasks, Sharing folders

Conditional Statements, Loops, Logical Operators

3 comments

  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Sergey

    Hi Bradley! You are right, our API does not have built-in methods for handling conditionalย logic or looping, it allowsย you to get or update information in a more straightforward way. Filters can cover some of it (for example, you can get a list of tasks that are overdue using the 'dueDate' parameter), but implementing the whole process would only be possible by buildingย an app (it seems to me what you need can be accomplished by running a simple script once a day), or potentially by using an automation platform (personally I've spoken to people who used Zapier and Boomi for similar purposes).

    Having this kind of functionality could be helpful, although Iย don't think it's a common practice forย RESTful API's and may even add unnecessary complexity. Have you used any APIs that support this kind of logic internally? I'd love to see an example to use as feedback for the team. Also if you personally have an idea how this could work - please feel free to share it, it would be great to hear your thoughts!

    ย 

    Sergey Community Team at Wrike ๐ŸŒŽDiscover... Wrike Discover and become a Wrike expert. Click here to get started

    Is this helpful? 0
    Comment actions Permalink
  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Bradley Wilson

    Hi Sergey,

    Thank you for your response. ย I do not have experience with RESTful APIs, which may be why it seems like such a glaring omission to me. ย The closest thing i have worked with would be Salesforce's Apex, but that is object oriented which may explain the difference.

    To me, the custom fields have a lot of untapped potential right now, since you cannot determine their value with a formula or base it on other fields/conditions. ย Having some option within the API or UI would make them much more useful and versatile.

    I think you're right that a simple script could process the output from a Wrike app, transform it, then feed it back in, but i was hoping I could avoid doing that and accomplish it all within Wrike.

    Is this helpful? 0
    Comment actions Permalink
  • Spot On! ๐Ÿ‘ Innovative Approach ๐Ÿ’ก Stellar Advice ๐Ÿ’ช
    Avatar
    Sergey

    I see! While we don't have this kind of functionality right now it doesn't mean we won't add it later. It will help our Product Team a lot if you shared your opinion in the corresponding section of our Community and upvoted suggestions that seem relevant - like this one, for example.

    Another option for the meantime would be to use Reports - ย you can get a report of all overdue tasks grouped by their projects, and go over it daily to make necessary updates to statuses and custom fields.ย 

    Sergey Community Team at Wrike ๐ŸŒŽDiscover... Wrike Discover and become a Wrike expert. Click here to get started

    Is this helpful? 0
    Comment actions Permalink

Please sign in to leave a comment.

Folllowing List for Post: Conditional Statements, Loops, Logical Operators
[this list is visible for admins and agents only]

Community

Welcome ๐Ÿ––

Hi there! ๐Ÿ™‚ Want to become a black belt Wrike Ninja? Here's how to earn a Wrike badge

Welcome ๐Ÿ–– Have you checked out this week's Release Notes yet?

Hey! ๐Ÿ‘‹ Curious about something? Visit How To to search and ask the Community for answers.

Welcome! ๐Ÿ‘‹ Figured out a good tip or trick? Share it in Best Practices.

Want to connect your existing software to Wrike? Learn and ask how in the API section.