{"id":952,"date":"2016-09-21T16:39:43","date_gmt":"2016-09-21T04:39:43","guid":{"rendered":"http:\/\/help.psoda.com\/?page_id=952"},"modified":"2022-02-17T00:30:50","modified_gmt":"2022-02-17T00:30:50","slug":"a910","status":"publish","type":"page","link":"https:\/\/www.psoda.com\/help\/a910\/","title":{"rendered":"Workflow actions"},"content":{"rendered":"<div class='content-column three_fourth'><strong><a href=\"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/action.svg\"><img loading=\"lazy\" decoding=\"async\" class=\"icons_img alignnone size-full wp-image-323\" src=\"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/action.svg\" alt=\"Actions icon\" width=\"24\" height=\"21\" \/><\/a>Workflow actions<\/strong> are executed in sequence when a <a href=\"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/workflow.svg\"><img loading=\"lazy\" decoding=\"async\" class=\"icons_img alignnone size-full wp-image-154\" src=\"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/workflow.svg\" alt=\"Workflow icon\" width=\"22\" height=\"20\" \/><\/a><a href=\"\/help\/a370\">workflow<\/a> reaches a particular <a href=\"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/workflowstate.svg\"><img loading=\"lazy\" decoding=\"async\" class=\"icons_img alignnone size-full wp-image-568\" src=\"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/workflowstate.svg\" alt=\"icon_lifecyclestate\" width=\"16\" height=\"16\" \/><\/a><a href=\"\/help\/a380\">state<\/a>.\r\n\r\nYou can add any number of actions to a workflow state that will be executed when an asset reaches that state. There are a number of difference action types supported:\r\n<table>\r\n<tbody>\r\n<tr>\r\n<th scope=\"col\">Action type<\/th>\r\n<th scope=\"col\">Description<\/th>\r\n<\/tr>\r\n<tr>\r\n<td><strong>Assign<\/strong><\/td>\r\n<td>Store a temporary variable. The value for the variable can be calculated from a complex expression.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>Email<\/strong><\/td>\r\n<td>Send an email message.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>If<\/strong><\/td>\r\n<td>Used to test if a certain condition is true before executing a sub-set of actions.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>Else<\/strong><\/td>\r\n<td>Can only be used in conjunction with an <strong>If action to provide action sets that must be executed if the <strong>If<\/strong> condition evaluates to false.<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>Wait<\/strong><\/td>\r\n<td>Wait for a certain duration before executing a sub-set of actions,e.g. waiting for 5 days from the start date of a timesheet before sending a reminder email.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>After change<\/strong><\/td>\r\n<td>Execute a sub-set of actions after a change on the object that this workflow is attached to.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>For<\/strong><\/td>\r\n<td>Execute a sub-set of actions on each key\/value pair of an array, these key\/value pairs can be used on the children actions.<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nSome action types are only available in certain circumstances,e.g. <strong>Else<\/strong> actions can only be added to <strong>If<\/strong> actions.\r\n\r\n<strong>Note:<\/strong> Any <strong>Wait<\/strong> actions that are still outstanding when an asset changes state are automatically cancelled.<\/div>\r\n<div class='content-column one_fourth last_column'><h4>Related topics<\/h4>\r\n<ul>\r\n \t<li><a href=\"\/help\/a370\">Workflow<\/a><\/li>\r\n \t<li><a href=\"\/help\/a374\">Workflow view page<\/a><\/li>\r\n \t<li><a href=\"\/help\/a380\">Workflow state<\/a><\/li>\r\n        <li><a href=\"\/help\/a9301\">Workflow builder<\/a><\/li>\r\n \t<li><a href=\"\/help\/a911\">Add workflow action form<\/a><\/li>\r\n \t<li><a href=\"\/help\/a912\">Edit workflow action form<\/a><\/li>\r\n \t<li><a href=\"\/help\/a913\">Delete workflow action form<\/a><\/li>\r\n \t<li><a href=\"\/help\/a914\">View workflow action page<\/a><\/li>\r\n<\/ul><\/div><div class='clear_column'><\/div>","protected":false},"excerpt":{"rendered":"<p><div class='content-column three_fourth'><\/div>  Workflow actions are executed in sequence when a workflow reaches a particular state.    You can add any number of actions to a workflow state that will be executed when an asset reaches that state. There are a number of difference action types supported:       <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":56,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-952","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Workflow actions - Psoda Help Centre<\/title>\n<meta name=\"description\" content=\"Read the documentation and learn how to use Psoda&#039;s Workflow actions\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.psoda.com\/help\/a910\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Workflow actions - Psoda Help Centre\" \/>\n<meta property=\"og:description\" content=\"Read the documentation and learn how to use Psoda&#039;s Workflow actions\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.psoda.com\/help\/a910\/\" \/>\n<meta property=\"og:site_name\" content=\"Psoda Help Centre\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-17T00:30:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/action.svg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.psoda.com\/help\/a910\/\",\"url\":\"https:\/\/www.psoda.com\/help\/a910\/\",\"name\":\"Workflow actions - Psoda Help Centre\",\"isPartOf\":{\"@id\":\"https:\/\/www.psoda.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.psoda.com\/help\/a910\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.psoda.com\/help\/a910\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/action.svg\",\"datePublished\":\"2016-09-21T04:39:43+00:00\",\"dateModified\":\"2022-02-17T00:30:50+00:00\",\"description\":\"Read the documentation and learn how to use Psoda's Workflow actions\",\"breadcrumb\":{\"@id\":\"https:\/\/www.psoda.com\/help\/a910\/#breadcrumb\"},\"inLanguage\":\"en-NZ\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.psoda.com\/help\/a910\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-NZ\",\"@id\":\"https:\/\/www.psoda.com\/help\/a910\/#primaryimage\",\"url\":\"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/action.svg\",\"contentUrl\":\"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/action.svg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.psoda.com\/help\/a910\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.psoda.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Workflow actions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.psoda.com\/help\/#website\",\"url\":\"https:\/\/www.psoda.com\/help\/\",\"name\":\"Psoda Help Centre\",\"description\":\"Information and support to help you use Psoda\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.psoda.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-NZ\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Workflow actions - Psoda Help Centre","description":"Read the documentation and learn how to use Psoda's Workflow actions","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.psoda.com\/help\/a910\/","og_locale":"en_US","og_type":"article","og_title":"Workflow actions - Psoda Help Centre","og_description":"Read the documentation and learn how to use Psoda's Workflow actions","og_url":"https:\/\/www.psoda.com\/help\/a910\/","og_site_name":"Psoda Help Centre","article_modified_time":"2022-02-17T00:30:50+00:00","og_image":[{"url":"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/action.svg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.psoda.com\/help\/a910\/","url":"https:\/\/www.psoda.com\/help\/a910\/","name":"Workflow actions - Psoda Help Centre","isPartOf":{"@id":"https:\/\/www.psoda.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.psoda.com\/help\/a910\/#primaryimage"},"image":{"@id":"https:\/\/www.psoda.com\/help\/a910\/#primaryimage"},"thumbnailUrl":"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/action.svg","datePublished":"2016-09-21T04:39:43+00:00","dateModified":"2022-02-17T00:30:50+00:00","description":"Read the documentation and learn how to use Psoda's Workflow actions","breadcrumb":{"@id":"https:\/\/www.psoda.com\/help\/a910\/#breadcrumb"},"inLanguage":"en-NZ","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.psoda.com\/help\/a910\/"]}]},{"@type":"ImageObject","inLanguage":"en-NZ","@id":"https:\/\/www.psoda.com\/help\/a910\/#primaryimage","url":"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/action.svg","contentUrl":"https:\/\/www.psoda.com\/images\/icons\/darkgrey\/action.svg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.psoda.com\/help\/a910\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.psoda.com\/help\/"},{"@type":"ListItem","position":2,"name":"Workflow actions"}]},{"@type":"WebSite","@id":"https:\/\/www.psoda.com\/help\/#website","url":"https:\/\/www.psoda.com\/help\/","name":"Psoda Help Centre","description":"Information and support to help you use Psoda","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.psoda.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-NZ"}]}},"_links":{"self":[{"href":"https:\/\/www.psoda.com\/help\/wp-json\/wp\/v2\/pages\/952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.psoda.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.psoda.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.psoda.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.psoda.com\/help\/wp-json\/wp\/v2\/comments?post=952"}],"version-history":[{"count":13,"href":"https:\/\/www.psoda.com\/help\/wp-json\/wp\/v2\/pages\/952\/revisions"}],"predecessor-version":[{"id":21328,"href":"https:\/\/www.psoda.com\/help\/wp-json\/wp\/v2\/pages\/952\/revisions\/21328"}],"wp:attachment":[{"href":"https:\/\/www.psoda.com\/help\/wp-json\/wp\/v2\/media?parent=952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}