{"id":29520,"date":"2021-08-11T14:16:00","date_gmt":"2021-08-11T13:16:00","guid":{"rendered":"https:\/\/multisite.korebots.com\/?p=29520"},"modified":"2021-08-24T11:47:10","modified_gmt":"2021-08-24T10:47:10","slug":"callable","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v9-1\/docs\/process-apps\/flow\/triggers\/callable\/","title":{"rendered":"Callable"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p><span style=\"font-weight: 400\">Callable Triggers refer to the triggers invoked from another process app. For example, let us consider <\/span><i><span style=\"font-weight: 400\">Process App A <\/span><\/i><span style=\"font-weight: 400\">which is already designed and <\/span><i><span style=\"font-weight: 400\">Process App B<\/span><\/i><span style=\"font-weight: 400\"> that uses a callable trigger. In the above example, it is not defined which flow triggers <\/span><i><span style=\"font-weight: 400\">Process App B<\/span><\/i><span style=\"font-weight: 400\">. Instead, a <\/span><i><span style=\"font-weight: 400\">call a subflow<\/span><\/i><span style=\"font-weight: 400\"> task is added in <\/span><i><span style=\"font-weight: 400\">Process App A<\/span><\/i><span style=\"font-weight: 400\"> to trigger <\/span><i><span style=\"font-weight: 400\">Process App B<\/span><\/i><span style=\"font-weight: 400\">. After the callable task is added, the system automatically links these two flows and adds <\/span><i><span style=\"font-weight: 400\">Process App A<\/span><\/i><span style=\"font-weight: 400\"> as a trigger to <\/span><i><span style=\"font-weight: 400\">Process App B<\/span><\/i><span style=\"font-weight: 400\">. On the Callable Triggers window, you can see the name of <\/span><i><span style=\"font-weight: 400\">Process App A<\/span><\/i><span style=\"font-weight: 400\"> (as a trigger) and any other triggers\/process applications that trigger <\/span><i><span style=\"font-weight: 400\">Process App B<\/span><\/i><span style=\"font-weight: 400\">.<\/span><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h2><span class=\"ez-toc-section\" id=\"Configure_Callable_Trigger\"><b>Configure Callable Trigger<\/b><\/span><\/h2>\n<p><span style=\"font-weight: 400\">To configure a Callable Trigger, follow the below steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">After you log in to the Process App, it lands you on the <\/span><b>Flow <\/b><span style=\"font-weight: 400\">tab.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the right pane, click <\/span><b>Callable <\/b><span style=\"font-weight: 400\">under <\/span><b>Triggers<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the Callable Trigger window, by default, the <\/span><b>Variables <\/b><span style=\"font-weight: 400\">tab is selected.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">On the Variables page, click <\/span><b>+ Variable <\/b><span style=\"font-weight: 400\">to add process variables. Variables are passed from parent process to child process app.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select a <\/span><b>Data Type<\/b><span style=\"font-weight: 400\"> (String, Boolean, Number, Date) from the drop-down list.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click <\/span><b>Save<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Similarly, you can add multiple variables with different data types.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click the <\/span><b>Process App<\/b><span style=\"font-weight: 400\"> tab.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can find the Process Apps. Select a Process App to trigger this workflow.<\/span><\/li>\n<li style=\"font-weight: 400\">Click <b>Done<\/b>.<\/li>\n<\/ol>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-1\/wp-content\/uploads\/sites\/22\/20210816151026\/callable-1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-1\/wp-content\/uploads\/sites\/22\/20210816151026\/callable-1.jpg\" alt=\"\" width=\"396\" height=\"506\" class=\"alignnone size-full wp-image-31435\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-1\/wp-content\/uploads\/sites\/22\/20210816151026\/callable-1.jpg 396w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v9-1\/wp-content\/uploads\/sites\/22\/20210816151026\/callable-1-235x300.jpg 235w\" sizes=\"auto, (max-width: 396px) 100vw, 396px\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Callable Triggers refer to the triggers invoked from another process app. For example, let us consider Process App A which is already designed and Process App B that uses a callable trigger. In the above example, it is not defined which flow triggers Process App B. Instead, a call a subflow task is added in...","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[156],"tags":[],"class_list":["post-29520","post","type-post","status-publish","format-standard","hentry","category-triggers"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v9-1\/wp-json\/wp\/v2\/posts\/29520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v9-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v9-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-1\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-1\/wp-json\/wp\/v2\/comments?post=29520"}],"version-history":[{"count":7,"href":"https:\/\/developer.kore.ai\/v9-1\/wp-json\/wp\/v2\/posts\/29520\/revisions"}],"predecessor-version":[{"id":31695,"href":"https:\/\/developer.kore.ai\/v9-1\/wp-json\/wp\/v2\/posts\/29520\/revisions\/31695"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v9-1\/wp-json\/wp\/v2\/media?parent=29520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-1\/wp-json\/wp\/v2\/categories?post=29520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-1\/wp-json\/wp\/v2\/tags?post=29520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}