{"id":789,"date":"2022-01-13T11:57:26","date_gmt":"2022-01-13T11:57:26","guid":{"rendered":"https:\/\/logicbuilder.integroscrm.com\/help\/?page_id=789"},"modified":"2022-06-10T10:08:27","modified_gmt":"2022-06-10T10:08:27","slug":"generate-event","status":"publish","type":"page","link":"https:\/\/logicbuilder.integroscrm.com\/help\/generate-event\/","title":{"rendered":"Generate Event"},"content":{"rendered":"<div style=\"background-color: #ddeaff; border-left: 6px solid #0072b3; padding: 12px;\">\n<p><a name=\"abstract\"><\/a>Requires deployed extension&nbsp;<a href=\"https:\/\/integroscrm.com\/lb-components\/\" rel=\"noreferrer noopener\" target=\"_blank\">LB Events<\/a>&nbsp;into Sugar Environment.<\/p>\n<p>LB Events Extension allows building postponed events, which means logic that is executed after a specified amount of time.<\/p>\n<p>Is often used for:<\/p>\n<ul>\n<li>To set up control logic (e.g. check whether Case is still opened in 2 days)<\/li>\n<li>To set up automation logic (e.g. change status in 60 days)<\/li>\n<\/ul>\n<\/div>\n\n\n<p>Creates postponed event on a specified date. This operator allows&nbsp;to schedule logic execution for a specific record.<\/p>\n\n\n\n<p><strong>inputs:<\/strong><\/p>\n\n\n\n<p><span style=\"color: #9ed267;\">Event&nbsp;name<\/span>&nbsp;\u2013 select event from the list. The list is composed of the records of LB Event Module from Sugar which metadata was imported to the current project.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color: #9ed267;\">ID<\/span> \u2013 id of the record for which this event must be scheduled. ID must be of the record which module is defined in LB Event module in Sugar.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color: #64c6ca;\">Date<\/span> \u2013 input date and time when the event must be fired. If only the date without a time is specified, the event is fired at midnight for the user, who initiated logic to generate the event.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: yes<\/li><\/ul>\n\n\n\n<p><span style=\"color: #6888c9;\">Additional data<\/span> \u2013 input the context of the event that was set when the event was generated. Additional data allows you to preserve data that is available only when the event is generated to the time when it will be fired, e.g. user who changed case status.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Required: no<\/li><\/ul>\n\n\n<p><a href=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/01\/img-96-dbfe7094863f4798a1e98d9208bdcb8a.png\" rel=\"prettyPhoto\"><img decoding=\"async\" src=\"https:\/\/logicbuilder.integroscrm.com\/help\/wp-content\/uploads\/2022\/01\/img-96-dbfe7094863f4798a1e98d9208bdcb8a-1024x327.png\" alt=\"\" class=\"wp-image-378\"><\/a><\/p><div style=\"text-align:left\" class=\"yasr-auto-insert-visitor\"><!--Yasr Visitor Votes Shortcode--><div id='yasr_visitor_votes_789' class='yasr-visitor-votes'><div class=\"yasr-custom-text-vv-before yasr-custom-text-vv-before-789\">Click to rate this post!<\/div><div id='yasr-vv-second-row-container-efabf26c7890e' \n                                        class='yasr-vv-second-row-container'><div id='yasr-visitor-votes-rater-efabf26c7890e'\n                                      class='yasr-rater-stars-vv'\n                                      data-rater-postid='789' \n                                      data-rating='0'\n                                      data-rater-starsize='24'\n                                      data-rater-readonly='false'\n                                      data-rater-nonce='fa81b01ba5' \n                                      data-issingular='false'\n                                    ><\/div><div class=\"yasr-vv-stats-text-container\" id=\"yasr-vv-stats-text-container-efabf26c7890e\"><svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" \n                               class=\"yasr-dashicons-visitor-stats\"\n                               data-postid=\"789\" \n                               id=\"yasr-stats-dashicon-efabf26c7890e\">\n                            <path d=\"M18 18v-16h-4v16h4zM12 18v-11h-4v11h4zM6 18v-8h-4v8h4z\"><\/path>\n                          <\/svg><span id=\"yasr-vv-text-container-efabf26c7890e\" class=\"yasr-vv-text-container\">[Total: <span id=\"yasr-vv-votes-number-container-efabf26c7890e\">0<\/span>  Average: <span id=\"yasr-vv-average-container-efabf26c7890e\">0<\/span>]<\/span><\/div><div id='yasr-vv-loader-efabf26c7890e' class='yasr-vv-container-loader'><\/div><\/div><div id='yasr-vv-bottom-container-efabf26c7890e' class='yasr-vv-bottom-container'><\/div><\/div><!--End Yasr Visitor Votes Shortcode--><\/div>","protected":false},"excerpt":{"rendered":"<p>Requires deployed extension&nbsp;LB Events&nbsp;into Sugar Environment. LB Events Extension allows building postponed events, which means logic that is executed after a specified amount of time. Is often used for: To set up control logic (e.g. check whether Case is still opened in 2 days) To set up automation logic (e.g. change status in 60 days) &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/logicbuilder.integroscrm.com\/help\/generate-event\/\"> <span class=\"screen-reader-text\">Generate Event<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"tags":[],"class_list":["post-789","page","type-page","status-publish","hentry"],"yasr_visitor_votes":{"number_of_votes":0,"sum_votes":0,"stars_attributes":{"read_only":false,"span_bottom":false}},"_links":{"self":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/comments?post=789"}],"version-history":[{"count":3,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/789\/revisions"}],"predecessor-version":[{"id":1746,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/pages\/789\/revisions\/1746"}],"wp:attachment":[{"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/media?parent=789"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/logicbuilder.integroscrm.com\/help\/wp-json\/wp\/v2\/tags?post=789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}