{"id":430,"date":"2018-03-22T05:47:13","date_gmt":"2018-03-21T20:47:13","guid":{"rendered":"https:\/\/litmus.jig-saw.com\/developer\/?p=430"},"modified":"2018-04-12T12:30:10","modified_gmt":"2018-04-12T03:30:10","slug":"flows","status":"publish","type":"post","link":"https:\/\/litmus.jig-saw.com\/developer\/loopedge\/flows\/","title":{"rendered":"Flows"},"content":{"rendered":"<h4>LoopFlow\u3068\u306f?<\/h4>\n<p><span style=\"font-size: 14px;\">\u30c9\u30e9\u30c3\u30b0\u30a2\u30f3\u30c9\u30c9\u30ed\u30c3\u30d7\u306e\u30d5\u30ed\u30fc\u30a8\u30c7\u30a3\u30bf\u30fc\u306f\u30c7\u30d0\u30a4\u30b9\u3068\u306e\u63a5\u7d9a\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u51e6\u7406\u3001\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3001\u5206\u6790\u306e\u30ed\u30b8\u30c3\u30af\u3092JavaScript\u304c\u4f7f\u3048\u3001\u3055\u3089\u306b\u3001\u3088\u304f\u4f7f\u308f\u308c\u308b\u30a4\u30d9\u30f3\u30c8\u306e\u51e6\u7406\u306e\u30eb\u30fc\u30eb\u3084\u30a2\u30e9\u30fc\u30c8\u306e\u6a5f\u80fd\u3082\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14px;\">\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u30d1\u30cd\u30eb\u306e\u300cFlow\u300d\u3092\u9078\u629e\u3057\u3001\u300cGo to LoopFlows\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-946 aligncenter\" src=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow-main.png\" alt=\"\" width=\"658\" height=\"481\" srcset=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow-main.png 658w, https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow-main-300x219.png 300w\" sizes=\"auto, (max-width: 658px) 100vw, 658px\" \/><\/p>\n<ol>\n<li>\u30ce\u30fc\u30c9 (node)<br \/>\n \u5bfe\u8c61\u3068\u306a\u308b\u30ce\u30fc\u30c9\u3092\u9078\u629e\u3057\u30c9\u30e9\u30c3\u30b0\u3057\u3001\u30d5\u30ed\u30fc\u4e0a\u3067\u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059\u3002<\/li>\n<li>\u30d5\u30ed\u30fc(flow)<br \/>\n \u9078\u629e\u3057\u305f\u30ce\u30fc\u30c9\u306e\u7de8\u96c6\u3084\u3001\u30ce\u30fc\u30c9\u540c\u58eb\u3092\u30ef\u30a4\u30e4\u3067\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u60c5\u5831 (info) \/ \u30c7\u30d0\u30c3\u30b0(debug)<br \/>\n info: \u9078\u629e\u3057\u305f\u30ce\u30fc\u30c9\u306e\u60c5\u5831\u3092\u8868\u793a\u3057\u307e\u3059\u3002<br \/>\n debug: \u30c7\u30d0\u30c3\u30b0\u60c5\u5831\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-961\" src=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow-node.png\" alt=\"\" width=\"495\" height=\"232\" srcset=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow-node.png 495w, https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow-node-300x141.png 300w\" sizes=\"auto, (max-width: 495px) 100vw, 495px\" \/><\/p>\n<p>timestamp\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30ce\u30fc\u30c9\u304c\u30a4\u30d9\u30f3\u30c8\u8d77\u52d5\u3057\u3001http request\u306e\u30ce\u30fc\u30c9\u304c\u30a4\u30d9\u30f3\u30c8\u3092\u51e6\u7406\u3057\u3001msg.payload\u3068\u306a\u3063\u3066\u3044\u308b\u30ce\u30fc\u30c9\u304c\u30a4\u30d9\u30f3\u30c8\u306e\u7d42\u4e86\u3092\u884c\u3044\u307e\u3059\u3002\u30d5\u30ed\u30fc\u306e\u5de6\u304b\u3089\u53f3\u306b\u51e6\u7406\u304c\u9032\u3093\u3067\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30cd\u30af\u30bf\u540c\u58eb\u3092\u30c9\u30e9\u30c3\u30af\u30a2\u30f3\u30c9\u30c9\u30ed\u30c3\u30d7\u3059\u308b\u3068\u30ef\u30a4\u30e4\u304c\u63a5\u7d9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h4>\u7c21\u5358\u306aFlow\u306e\u4f5c\u6210<\/h4>\n<p><span style=\"font-size: 14px;\">\u5358\u7d14\u306a\u30d5\u30ed\u30fc\u306f\u3001\u5165\u529b(inject node)\u3001\u51fa\u529b(debug node)\u3001\u305d\u308c\u3089\u306e\u9593\u3092\u7d50\u3076\u30ef\u30a4\u30e4\u3067\u69cb\u6210\u3055\u308c\u307e\u3059\u3002Flow\u306e\u53f3\u4e0a\u306eSave\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u4fdd\u5b58\u3055\u308c\u3001Flow\u304c\u5b9f\u884c\u3067\u304d\u308b\u72b6\u614b\u3067\u3059\u3002inject\u30ce\u30fc\u30c9\u306e\u5de6\u5074\u306e\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001debug\u306b\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-433 aligncenter\" src=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_1.png\" alt=\"\" width=\"431\" height=\"372\" srcset=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_1.png 431w, https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_1-300x259.png 300w\" sizes=\"auto, (max-width: 431px) 100vw, 431px\" \/><\/p>\n<h4>DeviceHub\u306eTag\u30c7\u30fc\u30bf\u306e\u53d6\u5f97<\/h4>\n<ul>\n<li><span style=\"font-size: 14px;\">\u524d\u63d0\u6761\u4ef6<\/span>\n<ul>\n<li><span style=\"font-size: 14px;\">DeviceHub\u3067Device\u3092\u4f5c\u6210\u3057\u3001Topic\u3092\u751f\u6210\u3067\u304d\u308b\u3088\u3046\u306bTag\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/span><\/li>\n<li><span style=\"font-size: 14px;\">DeviceHub\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001Device\u304c\u63a5\u7d9a\u3055\u308c\u308c\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-size: 14px;\">Litmus Automation\u306eDatahub Subscribe\u30ce\u30fc\u30c9\u3068debug\u30ce\u30fc\u30c9\u3092\u30c9\u30e9\u30c3\u30b0\u30a2\u30f3\u30c9\u30c9\u30ed\u30c3\u30d7\u3057\u3001\uff12\u3064\u306e\u30ce\u30fc\u30c9\u3092\u30ef\u30a4\u30e4\u3067\u5f15\u3044\u3066\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14px;\">DataHub Subscribe\u30ce\u30fc\u30c9\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3057\u3066\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8868\u793a\u3057\u307e\u3059\u3002Datahub\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u6a2a\u306b\u3042\u308b\u925b\u7b46\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u63a5\u7d9a\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8868\u793a\u3057\u3001Update\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-436 aligncenter\" src=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_2.png\" alt=\"\" width=\"660\" height=\"165\" srcset=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_2.png 817w, https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_2-300x75.png 300w, https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_2-768x192.png 768w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-435 aligncenter\" src=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_3.png\" alt=\"\" width=\"783\" height=\"183\" srcset=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_3.png 783w, https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_3-300x70.png 300w, https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_3-768x179.png 768w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><\/p>\n<p><span style=\"font-size: 14px;\">\u6ce8\u610f: Datahub\u30ce\u30fc\u30c9\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306eIP\u30a2\u30c9\u30ec\u30b9\u3068\u30dd\u30fc\u30c8\u306b\u306f\u3001\u81ea\u52d5\u7684\u306b\u5024\u304c\u5165\u529b\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092<strong>\u5909\u66f4\u3057\u306a\u3044<\/strong>\u3067\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p><span style=\"font-size: 14px;\">Topic\u306b\u306f\u3001DeviceHub\u306eTag\u306eRaw Topic\u3092\u6307\u5b9a\u3059\u308b\u3068\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u30b3\u30d4\u30fc\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068Topic\u3092\u30b3\u30d4\u30fc\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-437\" src=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_4-1024x40.png\" alt=\"\" width=\"660\" height=\"26\" srcset=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_4-1024x40.png 1024w, https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_4-300x12.png 300w, https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_4-768x30.png 768w, https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/flow_4.png 1249w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/p>\n<p><span style=\"font-size: 14px;\">\u6ce8\u610f: \u5fc5\u305aFlow\u306e\u53f3\u4e0a\u306eSave\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4fdd\u5b58\u3055\u308c\u308b\u307e\u3067\u4f5c\u6210\u3057\u305fFlow\u304c\u5b9f\u884c\u3055\u308c\u307e\u305b\u3093\u3002<\/span><\/p>\n<h4>\u4ed5\u69d8\u4e0a\u306e\u6ce8\u610f\u70b9<\/h4>\n<p>Datahub subscribe\u3068Datahub publisher\u306e\u30ce\u30fc\u30c9\u3092\u542b\u3080\u30d5\u30ed\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3068\u3001\u304a\u4e92\u3044\u306e\u6a5f\u80fd\u304c\u5e72\u6e09\u3057\u3001\u4e88\u671f\u305b\u306c\u52d5\u4f5c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u3053\u306e2\u3064\u306e\u30ce\u30fc\u30c9\u3092\u542b\u3081\u308b\u30d5\u30ed\u30fc\u306e\u5834\u5408\u306f\u3001change\u30ce\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3001msg.subject\u3092\u524a\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-990 aligncenter\" src=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/danger_node.png\" alt=\"\" width=\"515\" height=\"567\" srcset=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/danger_node.png 515w, https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/danger_node-272x300.png 272w\" sizes=\"auto, (max-width: 515px) 100vw, 515px\" \/><\/p>\n<p>\u3053\u306e\u30d5\u30ed\u30fc\u306b\u5fc5\u8981\u306a\u51e6\u7406\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-991 aligncenter\" src=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/danger_flow.png\" alt=\"\" width=\"341\" height=\"163\" srcset=\"https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/danger_flow.png 341w, https:\/\/litmus.jig-saw.com\/developer\/wp-content\/uploads\/2018\/03\/danger_flow-300x143.png 300w\" sizes=\"auto, (max-width: 341px) 100vw, 341px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>LoopFlow\u3068\u306f? \u30c9\u30e9\u30c3\u30b0\u30a2\u30f3\u30c9\u30c9\u30ed\u30c3\u30d7\u306e\u30d5\u30ed\u30fc\u30a8\u30c7\u30a3\u30bf\u30fc\u306f\u30c7\u30d0\u30a4\u30b9\u3068\u306e\u63a5\u7d9a\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u51e6\u7406\u3001\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3001\u5206\u6790\u306e\u30ed\u30b8\u30c3\u30af\u3092JavaScript\u304c\u4f7f\u3048\u3001\u3055\u3089\u306b\u3001\u3088\u304f\u4f7f\u308f\u308c\u308b\u30a4\u30d9\u30f3\u30c8\u306e\u51e6\u7406\u306e\u30eb\u30fc\u30eb\u3084\u30a2\u30e9\u30fc\u30c8 &hellip; <a href=\"https:\/\/litmus.jig-saw.com\/developer\/loopedge\/flows\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Flows<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-430","post","type-post","status-publish","format-standard","hentry","category-loopedge"],"_links":{"self":[{"href":"https:\/\/litmus.jig-saw.com\/developer\/wp-json\/wp\/v2\/posts\/430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/litmus.jig-saw.com\/developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/litmus.jig-saw.com\/developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/litmus.jig-saw.com\/developer\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/litmus.jig-saw.com\/developer\/wp-json\/wp\/v2\/comments?post=430"}],"version-history":[{"count":17,"href":"https:\/\/litmus.jig-saw.com\/developer\/wp-json\/wp\/v2\/posts\/430\/revisions"}],"predecessor-version":[{"id":1241,"href":"https:\/\/litmus.jig-saw.com\/developer\/wp-json\/wp\/v2\/posts\/430\/revisions\/1241"}],"wp:attachment":[{"href":"https:\/\/litmus.jig-saw.com\/developer\/wp-json\/wp\/v2\/media?parent=430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/litmus.jig-saw.com\/developer\/wp-json\/wp\/v2\/categories?post=430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/litmus.jig-saw.com\/developer\/wp-json\/wp\/v2\/tags?post=430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}