{"id":352,"date":"2021-09-07T18:06:47","date_gmt":"2021-09-07T18:06:47","guid":{"rendered":"http:\/\/www.shacarah.com\/main\/?p=352"},"modified":"2021-09-27T13:05:56","modified_gmt":"2021-09-27T13:05:56","slug":"drawing-an-automation-timeline-salesforce-marketing-cloud-api","status":"publish","type":"post","link":"https:\/\/www.shacarah.com\/main\/html5-canvas\/drawing-an-automation-timeline-salesforce-marketing-cloud-api\/","title":{"rendered":"Drawing an Automation Timeline &#8211; Salesforce Marketing Cloud API"},"content":{"rendered":"\n<p>The <a rel=\"noreferrer noopener\" href=\"https:\/\/developer.salesforce.com\/docs\/marketing\/marketing-cloud\/guide\/automationinstance.html\" target=\"_blank\">ProgramInstance object<\/a> can be accessed through the SOAP API. The timeline is drawn with JS and Canvas.<\/p>\n\n\n\n<p>**<em>ProgramInstance <\/em>is the API object that predated Automation studio, it still exists and has access to both legacy programs and automations. It does not have the same equals and in limited filter operators or simple filter restriction as <em>AutomationInstance <\/em>but the objects have the same properties.<\/p>\n\n\n\n<p>Any activity with a start \/ end date can be turned into a timeline.<\/p>\n\n\n\n<p>I conceptualized and built this to proactively solve client issues.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Automation Timeline Snapshot<ul><li>Performance<\/li><li>Overlap<\/li><li>Frequency<\/li><li>Errors, Skips, In Progress, Running, Complete  <\/li><\/ul><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"723\" src=\"http:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/15D62DA2-A796-4A46-91DA-BAC7E2541F6C-scaled-e1631038284120-1024x723.jpeg\" alt=\"\" data-id=\"353\" data-full-url=\"http:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/15D62DA2-A796-4A46-91DA-BAC7E2541F6C-scaled-e1631038284120.jpeg\" data-link=\"http:\/\/www.shacarah.com\/main\/html5-canvas\/drawing-an-automation-timeline-salesforce-marketing-cloud-api\/attachment\/15d62da2-a796-4a46-91da-bac7e2541f6c\/\" class=\"wp-image-353\" srcset=\"https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/15D62DA2-A796-4A46-91DA-BAC7E2541F6C-scaled-e1631038284120-1024x723.jpeg 1024w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/15D62DA2-A796-4A46-91DA-BAC7E2541F6C-scaled-e1631038284120-300x212.jpeg 300w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/15D62DA2-A796-4A46-91DA-BAC7E2541F6C-scaled-e1631038284120-768x542.jpeg 768w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/15D62DA2-A796-4A46-91DA-BAC7E2541F6C-scaled-e1631038284120-1536x1084.jpeg 1536w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/15D62DA2-A796-4A46-91DA-BAC7E2541F6C-scaled-e1631038284120-850x600.jpeg 850w, https:\/\/www.shacarah.com\/main\/wp-content\/uploads\/2021\/09\/15D62DA2-A796-4A46-91DA-BAC7E2541F6C-scaled-e1631038284120.jpeg 1849w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><\/ul><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The ProgramInstance object can be accessed through the SOAP API. The timeline is drawn with JS and Canvas. **ProgramInstance is the API object that predated Automation studio, it still exists and has access to both legacy programs and automations. It does not have the same equals and in limited filter operators or simple filter restriction&#8230;<\/p>\n","protected":false},"author":1,"featured_media":355,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,8,14,13,10],"tags":[],"class_list":["post-352","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-html5-canvas","category-marketing-cloud","category-salesforce","category-script-drawing"],"_links":{"self":[{"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/posts\/352"}],"collection":[{"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/comments?post=352"}],"version-history":[{"count":6,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/posts\/352\/revisions"}],"predecessor-version":[{"id":448,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/posts\/352\/revisions\/448"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/media\/355"}],"wp:attachment":[{"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/media?parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/categories?post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shacarah.com\/main\/wp-json\/wp\/v2\/tags?post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}