{"id":1241,"date":"2025-08-28T16:18:53","date_gmt":"2025-08-28T16:18:53","guid":{"rendered":"http:\/\/gogetmuscle.com\/?p=1241"},"modified":"2025-08-28T16:23:25","modified_gmt":"2025-08-28T16:23:25","slug":"help-with-a-workflow-logic","status":"publish","type":"post","link":"http:\/\/gogetmuscle.com\/index.php\/2025\/08\/28\/help-with-a-workflow-logic\/","title":{"rendered":"Help with a workflow logic"},"content":{"rendered":"
I’m trying to create a workflow that creates deals associated with a company. The full scenario is, I have a deal associated with several companies, those companies are labelled as “Bidders”, they exist in a deal pipeline called “Sales Pipeline”, what I’m trying to achieve is to create several records for the same deal matched with every single company associated to it alone in a different pipeline called “Bidders Pipeline”. So if Deal 1 is associated to Company 1,\u00a0Company 2 and\u00a0Company 3, I want to create a workflow that creates Deal 1 – Company 1, Deal 1 – Company 2, Deal 1 – Company 3. The issue I’m facing is that I created the workflow, but it creates only one record\u00a0 “the deal associated with the most recent company”, I tried changing the avalable records to choose from, to get all the associated companies but it just doesn’t appear. What should I do, given that I don’t know the exact number of companies that could be associated to this deal. I’m trying to create a workflow that creates deals associated with a company. The full scenario is, I have a deal associated with several companies, those companies are labelled as “Bidders”, they exist in a deal pipeline called “Sales Pipeline”, what I’m trying to achieve is to create several records for the same deal matched […]<\/p>\n","protected":false},"author":1,"featured_media":1243,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1241"}],"collection":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/comments?post=1241"}],"version-history":[{"count":3,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1241\/revisions"}],"predecessor-version":[{"id":1262,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1241\/revisions\/1262"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/media\/1243"}],"wp:attachment":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/media?parent=1241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/categories?post=1241"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/tags?post=1241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<\/span>
<\/span>
<\/span>
<\/span><\/SPAN><\/P><\/p>\n","protected":false},"excerpt":{"rendered":"