{"id":40787,"date":"2022-04-15T05:28:51","date_gmt":"2022-04-15T04:28:51","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=40787"},"modified":"2022-04-15T05:29:07","modified_gmt":"2022-04-15T04:29:07","slug":"using-session-and-context-variables-in-tasks","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/dialog-task\/using-session-and-context-variables-in-tasks\/?lang=ko","title":{"rendered":"\uc791\uc5c5\uc5d0\uc11c \uc138\uc158 \ubcc0\uc218 \uc0ac\uc6a9\ud558\uae30"},"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>\uc791\uc5c5\uc744 \uc815\uc758\ud560 \ub54c \ubd07 \ud50c\ub7ab\ud3fc\uc774 \uc81c\uacf5\ud558\ub294 \uc138\uc158 \ubcc0\uc218 \ub610\ub294 \uc815\uc758\ud55c \uc0ac\uc6a9\uc790 \uc815\uc758 \ubcc0\uc218, \ubcc0\uc218\uc758 \ubc94\uc704\ub97c \uc815\uc758\ud558\ub294 \ucee8\ud14d\uc2a4\ud2b8\uc5d0 \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc77c\ubd80 API \uc694\uccad\uc5d0\uc11c\ub294 \uc791\uc5c5\uc744 \uc2e4\ud589\ud558\uae30 \uc804\uc5d0 \uc138\uc158 \ubcc0\uc218\ub97c \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. \ub610\ub294 \ub2e4\uc74c \ub178\ub4dc\ub85c \uc804\ud658\ud558\ub824\uba74 \uc138\uc158 \ubcc0\uc218 \uc561\uc138\uc2a4\ub97c \uc704\ud55c \ub300\ud654 \uc791\uc5c5 \uad6c\uc131 \uc694\uc18c\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. \ub610\ud55c \ub300\ud654 \uc791\uc5c5\uc740 \ucd94\uac00\uc801\uc778 \uc2dc\uc2a4\ud15c \ubcc0\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec <code>context<\/code> \uac1c\uccb4\uc5d0 \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc790\uc138\ud55c \ub0b4\uc6a9\uc740 <a href=\"https:\/\/multisite.korebots.com\/uncategorised-ko-2\/context-object\/?lang=ko\">\ucee8\ud14d\uc2a4\ud2b8 \uac1c\uccb4<\/a>\ub97c \ucc38\uc870\ud558\uc138\uc694. \uc138\uc158 \ubcc0\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc791\uc5c5\uc5d0 \ub300\ud574 JavaScript\ub97c \uc815\uc758\ud560 \uc218 \uc788\uc73c\uba70 JavaScript \ud0ed\uc5d0\uc11c \uc0ac\uc6a9\uc790 \ud504\ub86c\ud504\ud2b8 \ud3b8\uc9d1\uae30\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small 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=\"i\">\uc138\uc158 \ubcc0\uc218<\/span><\/h2>\n<p>\uc774 \uc138\uc158\uc5d0\uc11c\ub294 \ucee8\ud14d\uc2a4\ud2b8 \ubcc0\uc218, \uc0ac\uc6a9\uc790 \uc815\uc758 JavaScript \ucf54\ub4dc\uc5d0\uc11c \uc791\uc5c5\uc5d0 \ub300\ud574 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ucee8\ud14d\uc2a4\ud2b8 \ubcc0\uc218\uc758 \ubc94\uc704\ub97c \uc124\uba85\ud569\ub2c8\ub2e4. \uac01 \ucee8\ud14d\uc2a4\ud2b8 \uc720\ud615\uc5d0 \ub530\ub77c \ud0a4\/\uac12 \uc30d\uc744 GET \ub610\ub294 PUT\ud558\ub294 JavaScript \uad6c\ubb38\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<pre class=\"lang:default decode:true\">   \"EnterpriseContext\" : {\r\n       \"get\" : function(key){...},\/\/get the specified key\r\n       \"put\" : function(key, value, ttl){...} \/\/put the value at the key for the specified ttl, ttl is in minutes\r\n   },\r\n   \"BotContext\" : {\r\n       \"get\" : function(key){...},\/\/get the specified key\r\n       \"put\" : function(key, value, ttl){...} \/\/put the value at the key for the specified ttl, ttl is in minutes\r\n   },\r\n   \"UserContext\" : {\r\n       \"get\" : function(key){...},\/\/get the specified key\r\n   },\r\n   \"UserSession\" : {\r\n       \"get\" : function(key){...},\/\/get the specified key\r\n       \"put\" : function(key, value, ttl){...} \/\/put the value at the key for the specified ttl, ttl is in minutes\r\n   },\r\n   \"BotUserSession\" : {\r\n       \"get\" : function(key){...},\/\/get the specified key\r\n       \"put\" : function(key, value, ttl){...} \/\/put the value at the key for the specified ttl, ttl is in minutes\r\n   }<\/pre>\n<p>\uc608:<\/p>\n<pre class=\"lang:default decode:true\">&nbsp; &nbsp; BotContext.put(\"topicSessionVariable\",\"music\",2000);\r\n&nbsp; &nbsp; UserSession.put(\"firstName\",\"Mary\",20000);\r\n&nbsp; &nbsp; UserContext.get(\"firstName\");<\/pre>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small 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=\"i-2\">\uc138\uc158 \ubcc0\uc218 \uc720\ud615<\/span><\/h2>\n<p>\ub2e4\uc74c \uc720\ud615\uc758 \uc138\uc158 \ubcc0\uc218\ub97c \ubd07 \ud50c\ub7ab\ud3fc\uc5d0\uc11c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<ul>\n<li><strong>EnterpriseContext<\/strong> &#8211; \uc5d4\ud130\ud504\ub77c\uc774\uc988 \ub0b4 \ubaa8\ub4e0 \ubd07\uacfc \uc0ac\uc6a9\uc790\uac00 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ud0a4-\uac12 \uc30d\uc785\ub2c8\ub2e4. \uc608: GitHub \ubd07\uc744 \uc0ac\uc6a9\ud558\uba74 \uc0ac\uc6a9\uc790\ub294 \ud558\ub098 \uc774\uc0c1\uc758 \uc5d4\ud130\ud504\ub77c\uc774\uc988 \uc800\uc7a5\uc18c\uc5d0 \uc561\uc138\uc2a4\ud574\uc57c \ud569\ub2c8\ub2e4. \ub2e4\uc74c JavaScript \ucf54\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc800\uc7a5\uc18c \ub370\uc774\ud130\ub97c <strong>Gitrepository (\uc5d4\ud130\ud504\ub77c\uc774\uc988 \ucee8\ud14d\uc2a4\ud2b8)<\/strong>\ub85c \uc720\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<pre class=\"lang:default decode:true\">var userRepository = {\r\n\"title\": _labels_[repository],\r\n\"value\": repository\r\n};\r\nEnterpriseContext.put('Gitrepository', userRepository, 200000);<\/pre>\n<\/li>\n<li><strong>BotContext<\/strong> &#8211; \ud2b9\uc815 \ubd07\uc758 \ubaa8\ub4e0 \uc0ac\uc6a9\uc790\uac00 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ud0a4\/\uac12 \uc30d\uc785\ub2c8\ub2e4. \uc608: \uc0ac\uc6a9\uc790\uc758 \uc704\uce58\uc5d0 \ub530\ub77c \uc138\uc158\uc5d0\uc11c \uae08\uc735 \uac70\ub798\uc5d0 \ub300\ud55c \uae30\ubcf8 \ud1b5\ud654\ub97c \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c JavaScript \ucf54\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec \uae30\ubcf8 \ud1b5\ud654 \ub370\uc774\ud130\ub97c <strong>currency (\ubd07 \ucee8\ud14d\uc2a4\ud2b8)<\/strong>\ub85c \uc720\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<pre class=\"lang:default decode:true\">var defaultCurrency = { TODO Custom JavaScript for location-based currency }\r\nBotContext.put('currency', defaultCurrency, 200000);<\/pre>\n<\/li>\n<li><strong>UserContext<\/strong> &#8211; \uc0ac\uc6a9\uc790\uc758 \ubaa8\ub4e0 \ubd07\uc774 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ud0a4-\uac12 \uc30d\uc785\ub2c8\ub2e4. \uc774 \ud0a4\ub294 \uc77d\uae30 \uc804\uc6a9\uc774\uba70 \uc2dc\uc2a4\ud15c\uc5d0\uc11c \ub2e4\uc74c\uacfc \uac19\uc740 \uc0ac\uc6a9\uc790 \ub370\uc774\ud130\ub85c \uc81c\uacf5\ub429\ub2c8\ub2e4.\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li><strong>UserContext.get(&quot;_id&quot;)<\/strong> &#8211;&nbsp;Kore.ai \uc0ac\uc6a9\uc790 ID\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>UserContext.get(&quot;emailId&quot;)<\/strong> &#8211;&nbsp;\uc0ac\uc6a9\uc790 ID\uc640 \uc5f0\uacb0\ub41c \uc774\uba54\uc77c \uc8fc\uc18c\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>UserContext.get(&quot;lastName&quot;)<\/strong> &#8211; \uc0ac\uc6a9\uc790\uc758 \uc131\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>UserContext.get(&quot;firstName&quot;)<\/strong> &#8211; \uc0ac\uc6a9\uc790\uc758 \uc774\ub984\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>UserContext.get(&quot;profImage&quot;)<\/strong> &#8211;&nbsp;\uc0ac\uc6a9\uc790\uc758 \uc774\ubbf8\uc9c0 \ub610\ub294 \uc544\ubc14\ud0c0 \ud30c\uc77c \uc774\ub984\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>UserContext.get(&quot;profColor&quot;)<\/strong> &#8211;&nbsp;\uc0ac\uc6a9\uc790\uc758 \uacc4\uc815 \uc0c9\uc0c1\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>UserContext.get(&quot;activationStatus&quot;)<\/strong> &#8211; \uc0ac\uc6a9\uc790\uc758 \uacc4\uc815 \uc0c1\ud0dc\uc785\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<ul>\n<li><code>active<\/code> &ndash; \uc0ac\uc6a9\uc790\ub294 \ud65c\uc131 \uc0c1\ud0dc\uc774\uba70 \ub2e4\ub978 Kore.ai \uc0ac\uc6a9\uc790\uc640 \uc0c1\ud638 \uc791\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><code>inactive<\/code> &ndash; \uc0ac\uc6a9\uc790\ub294 \ube44\ud65c\uc131 \uc0c1\ud0dc\uc774\uc9c0\ub9cc \uc2dc\uc2a4\ud15c\uc5d0 \uc0ac\uc6a9\uc790 \ub370\uc774\ud130\uac00 \uc720\uc9c0\ub429\ub2c8\ub2e4.<\/li>\n<li><code>suspended<\/code> &ndash; \uad00\ub9ac\uc790\uac00 \uc77c\uc2dc \uc911\ub2e8\ud55c \uc0ac\uc6a9\uc790\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\ub294 Kore.ai\uc5d0 \ub85c\uadf8\uc778\ud560 \uc218 \uc5c6\uc9c0\ub9cc \uba54\uc2dc\uc9c0\ub294 \uc77c\uc2dc \uc911\ub2e8\ub41c \uc0ac\uc6a9\uc790\uc5d0\uac8c \uacc4\uc18d \ubcf4\ub0bc \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><code>locked<\/code> &ndash; \uc0ac\uc6a9\uc790\uac00 \ucd5c\ub300 \ub85c\uadf8\uc778 \uc2dc\ub3c4 \ud69f\uc218\ub97c \ucd08\uacfc\ud588\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<\/li>\n<li><strong>UserContext.get(&quot;jTitle&quot;)<\/strong> &#8211;&nbsp;\uc815\uc758\ub41c \uacbd\uc6b0 \uc0ac\uc6a9\uc790\uc758 \uc9c1\ud568\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>UserContext.get(&quot;orgId&quot;)<\/strong> &#8211;&nbsp;\uc815\uc758\ub41c \uacbd\uc6b0 \uc0ac\uc6a9\uc790 \uacc4\uc815\uc758 \uc870\uc9c1 ID\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>UserContext.get(&quot;customData&quot;)<\/strong> &#8211; \uc0ac\uc6a9\uc790 \uc815\ubcf4\ub97c \uc6f9 \ucc44\ub110\uc5d0 \uc804\ub2ec\ud558\ub294 \ub370 \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \ud604\uc7ac\ub294 webSDK \uc804\uc6a9\uc785\ub2c8\ub2e4.<a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/sdks\/kore-ai-web-sdk-tutorial\/\" target=\"_blank\" rel=\"noopener noreferrer\">\uc790\uc138\ud55c \ub0b4\uc6a9\uc740 \uc5ec\uae30\ub97c \ucc38\uc870\ud558\uc138\uc694<\/a>.<\/li>\n<li><strong>UserContext.get(&quot;identities&quot;)<\/strong> &#8211; \uc815\uc758\ub41c \uacbd\uc6b0 \ub300\uccb4 \uc0ac\uc6a9\uc790 ID\uc785\ub2c8\ub2e4.\n<ul>\n<li><code>val<\/code> &#8211; \ub300\uccb4 ID<\/li>\n<li><code>type<\/code> &#8211; \ub300\uccb4 ID\uc758 \uc720\ud615\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\uc608: <code>UserSession<\/code> \ubcc0\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac12\uc744 \uc138\uc158\uc5d0 PUT\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub450 \uac00\uc9c0&nbsp;<code>UserContext<\/code>&nbsp;\ubcc0\uc218\ub97c \ud1b5\ud55c GET\uc744 \uae30\ubc18\uc73c\ub85c \ud0a4\ub97c <code>fullName<\/code>\uc73c\ub85c \uc815\uc758\ud569\ub2c8\ub2e4.<\/p>\n<pre class=\"lang:default decode:true\">var name = UserContext.get(\"firstName\")+UserContext.get(\"lastName\");\r\nUserSession.put(\"fullName\") = name;<\/pre>\n<\/li>\n<li><strong>UserSession<\/strong> &#8211; \uc5d4\ud130\ud504\ub77c\uc774\uc988 \ub0b4 \ubaa8\ub4e0 \ubd07\uc758 \ud2b9\uc815 \uc0ac\uc6a9\uc790\uc5d0 \ub300\ud574 \uc815\uc758\ud560 \uc218 \uc788\ub294 \ud0a4\/\uac12 \uc30d\uc785\ub2c8\ub2e4. \uc608: \uc0c1\uac70\ub798, \uc6b4\uc1a1 \ubc0f \uac00\uc815 \ubc30\ub2ec \uc11c\ube44\uc2a4\ub97c \uc704\ud55c \uc0ac\uc6a9\uc790 \uc9d1 \uc8fc\uc18c\uc640 \uac19\uc774 \uc0ac\uc6a9\uc790 \uc704\uce58\ub97c \uc800\uc7a5\ud558\uc5ec \ubaa8\ub4e0 \ubd07\uc774 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ud574\uc57c \ud569\ub2c8\ub2e4. \uc608: \ub2e4\uc74c JavaScript \ucf54\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec \uae30\ubcf8 \uc704\uce58 \ub370\uc774\ud130\ub97c <strong>HomeLocation (\uc0ac\uc6a9\uc790 \uc138\uc158)<\/strong>\uc73c\ub85c \uc720\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<pre class=\"lang:default decode:true\">var location = {\r\n \"title\": labels[location],\r\n \"value\": {\r\n \"latitude\": location.latitude,\r\n \"longitude\": request.location.longitude\r\n }\r\n};\r\nUserSession.put('HomeLocation', location, '20000');<\/pre>\n<\/li>\n<li><strong>BotUserSession<\/strong> &#8211; \ud2b9\uc815 \uc0ac\uc6a9\uc790\uac00 \uc785\ub825\ud55c \uac12\uc5d0 \ub530\ub77c \ud2b9\uc815 \ubd07\uc5d0 \uc815\uc758\ud560 \uc218 \uc788\ub294 \ud0a4\/\uac12 \uc30d\uc785\ub2c8\ub2e4. \uc608: \ubd07\uc5d0 \ud558\ub098 \uc774\uc0c1\uc758 \uc791\uc5c5\uc5d0 \ub300\ud574 \uc0ac\uc6a9\uc790 \uc704\uce58\ub97c \uc720\uc9c0\ud574\uc57c \ud569\ub2c8\ub2e4. \uc5ec\ud589 \ubd07\uc758 \uacbd\uc6b0 \uac19\uc740 \uc9d1 \uc8fc\uc18c\uc640 \ubaa9\uc801\uc9c0 \uc8fc\uc18c\ub97c \uae30\uc900\uc73c\ub85c \ud56d\uacf5\ud3b8\uacfc \ud638\ud154\uc744 \uc608\uc57d\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608: \ub2e4\uc74c JavaScript \ucf54\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec \uae30\ubcf8 \uc9d1 \ubc0f \ubaa9\uc801\uc9c0 \ub370\uc774\ud130\ub97c <strong>HomeLocation (\ubd07 \uc0ac\uc6a9\uc790 \uc138\uc158)<\/strong>&nbsp;\ubc0f <strong>DestinationLocation (\ubd07 \uc0ac\uc6a9\uc790 \uc138\uc158)<\/strong>\uc73c\ub85c \uc720\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<pre class=\"lang:default decode:true\">var homelocation = {\r\n \"title\": labels[request.sourceLocation],\r\n \"value\": {\r\n \"latitude\": request.sourceLocation.latitude,\r\n \"longitude\": request.sourceLocation.longitude\r\n }\r\n};\r\nBotUserSession.put('HomeLocation', homelocation, '20000');\r\nvar destlocation = {\r\n \"title\": labels[request.destLocation],\r\n \"value\": {\r\n \"latitude\": request.destLocation.latitude,\r\n \"longitude\": request.destLocation.longitude\r\n }\r\n};\r\nBotUserSession.put('DestinationLocation', destlocation, '20000\u2019);<\/pre>\n<\/li>\n<\/ul>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small 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=\"i-3\">\ud45c\uc900 \ud0a4<\/span><\/h2>\n<p>\uc138\uc158 \ud0a4 \ubc0f \ucee8\ud14d\uc2a4\ud2b8 \ud0a4 \uc678\uc5d0\ub3c4 \uc7ac\uc0ac\uc6a9 \uac00\ub2a5\ud55c \ub370\uc774\ud130\ub97c \uc704\ud55c Kore.ai \ubcc0\uc218 \ud50c\ub808\uc774\uc2a4 \ud640\ub354\uac00 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c \uc911 \ud558\ub098\ub97c \uc120\ud0dd\ud569\ub2c8\ub2e4.<\/p>\n<ul>\n<li><strong>_labels_<\/strong> &#8211; GUID \ub300\uc2e0 \uce5c\uc219\ud55c \ub808\uc774\ube14\uc744 \ubc18\ud658\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc608: \uc6f9 \uc11c\ube44\uc2a4 API\uc5d0\uc11c \uc0ac\uc6a9\uc790 \ub370\uc774\ud130\ub97c \uc694\uccad\ud560 \ub54c \ubc18\ud658\ub418\ub294 \ud504\ub85c\uc81d\ud2b8 \ub610\ub294 \uc6cc\ud06c\uc2a4\ud398\uc774\uc2a4\uc758 ID\ub294 GUID\uc785\ub2c8\ub2e4. <code>_labels_<\/code> \ud0a4\ub97c \uc0ac\uc6a9\ud558\uc5ec GUID \ub300\uc2e0 \ucd5c\uc885 \uc0ac\uc6a9\uc790\uc5d0\uac8c GUID\uc758 \uce5c\uc219\ud55c \uc774\ub984\uc744 \uc54c\ub824\uc904 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Kore.ai\uc5d0\uc11c \ub4dc\ub86d\ub2e4\uc6b4 \ucee8\ud2b8\ub864\uc740&nbsp;<code>_labels_<\/code> \ud0a4\uc758 \uc751\ub2f5\uc744 \ub2e4\uc74c\uacfc \uac19\uc774 \uc800\uc7a5\ud569\ub2c8\ub2e4. \uc608:\n<pre class=\"lang:default decode:true\">{\r\n    \"_labels_\": {\r\n        \"15379386734832\": \"roadlabs.com\",\r\n        \"26377329985341\": \"Test Project\",\r\n        \"workspace\": \"roadlabs.com\",\r\n        \"project\": \"Test Project\"\r\n    },\r\n    \"_fields_\": {\r\n        \"workspace\": \"15379386734832\",\r\n        \"project\": \"26377329985341\"\r\n    }\r\n}<\/pre>\n<p> \t\uc751\ub2f5\uc5d0 <code>_labels_<\/code> \ud0a4\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95:<\/p>\n<pre class=\"lang:default decode:true\">print('&lt;a href=\"https:\/\/app.asana.com\/0\/' + workspace.id + '\/' + id + '\/f\" target=\"_blank\"&gt;' + title + '&lt;\/a&gt; in workspace '+_labels_[workspace.id]);<\/pre>\n<\/li>\n<li><strong>_tenant_<\/strong> &#8211; \uc815\uc758\ub41c \uacbd\uc6b0 \uc5d4\ud130\ud504\ub77c\uc774\uc988\uc5d0 \ub300\ud55c \ud14c\ub10c\ud2b8\ub97c \ubc18\ud658\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc608: <em>JIRA<\/em>\ub294 <span style=\"color: #0000ff\">https:\/\/<strong>koreteam<\/strong>.atlassian.net\/browse\/BBF-3265<\/span>\uc5d0\uc11c <span style=\"color: #0000ff\">koreteam<\/span>\uacfc \uac19\uc740 URL\uc5d0 \ub300\ud55c \ud14c\ub10c\ud2b8\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. <code>_tenant_<\/code> \ud0a4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub2e4\uc74c\uacfc \uac19\uc740 \uc791\uc5c5 \uc751\ub2f5\uc5d0\uc11c \ub9c1\ud06c\ub97c \uc791\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<pre class=\"lang:default decode:true\">var title = request.fields.issuetype.name + ' &lt;a href =\"https:\/\/' + _tenant_ + '\/browse\/' + response.key + '\" target = \"_blank\"&gt;' + request.fields.summary + '&lt;\/a&gt; &nbsp;has been created.';<\/pre>\n<\/li>\n<li><strong>_fields_<\/strong> &#8211; \ud398\uc774\ub85c\ub4dc \uc751\ub2f5\uc758 \uc77c\ubd80\uac00 \uc544\ub2cc, \uc0ac\uc6a9\uc790\uac00 \uc81c\uacf5\ud55c \uc870\uce58 \uc791\uc5c5 \ud544\ub4dc \uc785\ub825\uc744 \ubc18\ud658\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc608: <em>JIRA<\/em> \uc870\uce58 \uc791\uc5c5\uc5d0\uc11c \ucd5c\uc885 \uc0ac\uc6a9\uc790\uc5d0\uac8c \uc6cc\ud06c\uc2a4\ud398\uc774\uc2a4 \uc774\ub984\uc744 \uc785\ub825\ud558\ub77c\ub294 \uba54\uc2dc\uc9c0\uac00 \ud45c\uc2dc\ub429\ub2c8\ub2e4. <code>_fields_<\/code> \ud0a4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucd5c\uc885 \uc0ac\uc6a9\uc790 \uc785\ub825\uc744 \ub2e4\uc74c\uacfc \uac19\uc774 \uc800\uc7a5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n<pre class=\"lang:default decode:true\">_fields_[\"workspace\"]<\/pre>\n<\/li>\n<li><strong>_last_run<\/strong> &#8211; \uc6f9 \uc11c\ube44\uc2a4 \ud480\uc758 UTC \ub0a0\uc9dc \ud0c0\uc784\uc2a4\ud0ec\ud504\ub97c ISO 8601 \ud615\uc2dd\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubc18\ud658\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc608:&nbsp;<span style=\"color: #0000ff\">2016-03-05T12:44:38+00:00<\/span>. \uc608: \uc6f9 \uc11c\ube44\uc2a4 \uc694\uccad\uc774 \ud398\uc774\ub85c\ub4dc \uc751\ub2f5\uc5d0\uc11c \ubaa8\ub4e0 \ud65c\ub3d9\uc744 \ubc18\ud658\ud558\ub294 \uacbd\uc6b0 <code>_last_run<\/code> \ud0a4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub2e4\uc74c <code>_last_run<\/code> \uac12\uc758 \uc55e \ub610\ub294 \ub4a4\uc5d0 \ud45c\uc2dc\ub418\ub294 \uacb0\uacfc\ub97c \ud544\ud130\ub9c1\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"\uc791\uc5c5\uc744 \uc815\uc758\ud560 \ub54c \ubd07 \ud50c\ub7ab\ud3fc\uc774 \uc81c\uacf5\ud558\ub294 \uc138\uc158 \ubcc0\uc218 \ub610\ub294 \uc815\uc758\ud55c \uc0ac\uc6a9\uc790 \uc815\uc758 \ubcc0\uc218, \ubcc0\uc218\uc758 \ubc94\uc704\ub97c \uc815\uc758\ud558\ub294 \ucee8\ud14d\uc2a4\ud2b8\uc5d0 \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc77c\ubd80 API \uc694\uccad\uc5d0\uc11c\ub294 \uc791\uc5c5\uc744 \uc2e4\ud589\ud558\uae30 \uc804\uc5d0 \uc138\uc158 \ubcc0\uc218\ub97c \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. \ub610\ub294 \ub2e4\uc74c \ub178\ub4dc\ub85c \uc804\ud658\ud558\ub824\uba74 \uc138\uc158 \ubcc0\uc218 \uc561\uc138\uc2a4\ub97c \uc704\ud55c \ub300\ud654 \uc791\uc5c5 \uad6c\uc131 \uc694\uc18c\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. \ub610\ud55c \ub300\ud654 \uc791\uc5c5\uc740 \ucd94\uac00\uc801\uc778 \uc2dc\uc2a4\ud15c \ubcc0\uc218\ub97c \uc0ac\uc6a9\ud558\uc5ec context \uac1c\uccb4\uc5d0 \uc561\uc138\uc2a4\ud560...","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-40787","post","type-post","status-publish","format-standard","hentry","category-dialog-task"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/40787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=40787"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/40787\/revisions"}],"predecessor-version":[{"id":40788,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/40787\/revisions\/40788"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=40787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=40787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=40787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}