{"id":77886,"date":"2020-04-14T13:43:20","date_gmt":"2020-04-14T11:43:20","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/power-automate-vs-logic-apps-kejsy-power-automate"},"modified":"2020-04-14T13:43:20","modified_gmt":"2020-04-14T11:43:20","slug":"power-automate-vs-logic-apps-kejsy-power-automate","status":"publish","type":"post","link":"https:\/\/prohoster.info\/ro\/blog\/administrirovanie\/power-automate-vs-logic-apps-kejsy-power-automate","title":{"rendered":"Power Automate VS Logic Apps. Cazuri Power Automate","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Bun\u0103 ziua tuturor! <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/496714\/\">\u00cen articolul precedent, dedicat studierii Power Automate \u0219i Logic Apps<\/a><\/noindex>, am analizat principalele diferen\u021be dintre Power Automate \u0219i Logic Apps. Ast\u0103zi, ne-am dori s\u0103 avans\u0103m \u0219i s\u0103 prezent\u0103m oportunit\u0103\u021bi interesante care pot fi realizate cu ajutorul acestor produse. \u00cen acest articol, vom explora c\u00e2teva cazuri de utilizare care pot fi implementate cu Power Automate.<\/p>\n<h3>Microsoft Power Automate<\/h3>\n<p>\nAcest produs ofer\u0103 un set extins de conectori pentru diverse servicii, precum \u0219i declan\u0219atoare pentru ini\u021bierea automat\u0103 \u0219i imediat\u0103 a fluxurilor, \u00een urma apari\u021biei unui anumit eveniment. De asemenea, se suport\u0103 ini\u021bierea fluxurilor conform unui program sau la ap\u0103sarea unui buton. <\/p>\n<h4>1. \u00cenregistrarea automat\u0103 a solicit\u0103rilor <\/h4>\n<p>\nUnul dintre cazuri poate fi implementarea \u00eenregistr\u0103rii automate a solicit\u0103rilor. Declan\u0219atorul fluxului, \u00een acest caz, va fi primirea unei notific\u0103ri prin e-mail \u00eentr-o anumit\u0103 c\u0103su\u021b\u0103, urmat\u0103 de procesarea logicei ulterioare:<br \/>\n<img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Cazuri Power Automate\" src=\"\/wp-content\/uploads\/2020\/04\/d091153cea38f7d135c0440182b0bf0b.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\nC\u00e2nd configur\u0103m declan\u0219atorul \u201eC\u00e2nd prime\u0219te un nou e-mail\u201d, putem folosi diferite filtre pentru a determina evenimentul necesar pentru activarea declan\u0219atorului:<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Cazuri Power Automate\" src=\"\/wp-content\/uploads\/2020\/04\/c2bc4796c8188f7b436c6ccc3aa1acca.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nDe exemplu, putem activa fluxul doar pentru e-mailuri cu ata\u0219amente sau pentru e-mailuri cu o importan\u021b\u0103 maxim\u0103. De asemenea, putem lansa fluxul dac\u0103 e-mailul a ajuns \u00eentr-un anumit dosar al c\u0103su\u021bei po\u0219tale. \u00cen plus, exist\u0103 posibilitatea de a filtra e-mailurile dup\u0103 un substring specific \u00een subiectul e-mailului.<br \/>\nDup\u0103 ce s-au efectuat calculele necesare \u0219i s-au ob\u021binut toate informa\u021biile necesare, putem crea un element \u00een lista SharePoint folosind substitution de la alte ac\u021biuni:<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Cazuri Power Automate\" src=\"\/wp-content\/uploads\/2020\/04\/76f6870a22c18ad1b289e2e023f7af21.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nPrin intermediul unui astfel de flux, putem captura cu u\u0219urin\u021b\u0103 notific\u0103rile e-mail necesare, le putem analiza componentele \u0219i putem crea \u00eenregistr\u0103ri \u00een alte sisteme.<\/p>\n<h4>2. Lansarea fluxului de aprobat printr-un buton din PowerApps<\/h4>\n<p>\nUnul dintre scenariile standard este trimiterea unui obiect pentru aprobat persoanelor de aprobat. Pentru implementarea unui astfel de scenariu, putem crea un buton \u00een PowerApps, iar la ap\u0103sarea acestuia, s\u0103 activ\u0103m fluxul Power Automate:<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Cazuri Power Automate\" src=\"\/wp-content\/uploads\/2020\/04\/5e2416deaf821bb11248abe3e2a75d95.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nA\u0219a cum se poate observa, \u00een acest flux, declan\u0219atorul ini\u021bial este PowerApps. O caracteristic\u0103 distinctiv\u0103 a acestui declan\u0219ator este c\u0103 putem solicita informa\u021bii din PowerApps, afl\u00e2ndu-ne \u00een interiorul fluxului Power Automate:<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Cazuri Power Automate\" src=\"\/wp-content\/uploads\/2020\/04\/7d70276ebbe201d5b95ec23031a3341d.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nFunc\u021bioneaz\u0103 astfel: c\u00e2nd trebuie s\u0103 ob\u021bine\u021bi orice informa\u021bie din PowerApps, face\u021bi clic pe op\u021biunea \u201e\u00centreba\u021bi \u00een PowerApps\u201d. Dup\u0103 asta, se creeaz\u0103 o variabil\u0103 care poate fi utilizat\u0103 \u00een toate ac\u021biunile acestui flux Power Automate. R\u0103m\u00e2ne doar ca, la lansarea fluxului din PowerApps, s\u0103 transmite\u021bi valoarea pentru aceast\u0103 variabil\u0103 \u00een interiorul fluxului.<\/p>\n<h4>3. Lansarea fluxului printr-o cerere HTTP<\/h4>\n<p>\nCazul al treilea despre care a\u0219 dori s\u0103 vorbesc este lansarea fluxului Power Automate printr-o cerere HTTP. \u00cen unele cazuri, \u0219i \u00een special \u00een diversele pove\u0219ti de integrare, este necesar s\u0103 se lanseze fluxul Power Automate printr-o cerere HTTP, transmi\u021b\u00e2nd diferite parametrii \u00een interiorul fluxului. Se face destul de simplu. Ca declan\u0219ator se folose\u0219te ac\u021biunea \u201eC\u00e2nd se prime\u0219te o cerere HTTP\u201d:<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Cazuri Power Automate\" src=\"\/wp-content\/uploads\/2020\/04\/f74b0ffbb216d0a5a0022087a6296ec4.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nURL-ul POST HTTP este generat automat, la prima salvare a fluxului. Exact pe aceast\u0103 adres\u0103 trebuie s\u0103 trimite\u021bi cererea POST pentru a porni acest flux. Ca parametrii, la lansare, putem transmite diverse informa\u021bii, de exemplu, \u00een acest caz, se transmite din afar\u0103 atributul SharePointID. Pentru a crea un astfel de model de intrare, trebuie s\u0103 face\u021bi clic pe op\u021biunea \u201eUtiliza\u021bi un exemplu de \u00eenc\u0103rc\u0103tur\u0103 util\u0103 pentru a crea un model\u201d, dup\u0103 care s\u0103 insera\u021bi un exemplu de JSON care va sosi \u00een flux:<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Cazuri Power Automate\" src=\"\/wp-content\/uploads\/2020\/04\/657da43fc06da6266c752a3bf8b3554e.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nDup\u0103 ap\u0103sarea pe \u201eGata\u201d, se genereaz\u0103 un model JSON al textului cererii pentru aceast\u0103 ac\u021biune. Acum atributul SharePointID poate fi utilizat \u00een toate ac\u021biunile acestui flux ca substitut:<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Cazuri Power Automate\" src=\"\/wp-content\/uploads\/2020\/04\/96d8ed2fdc793014bd7ca800518352cd.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nMerit\u0103 men\u021bionat c\u0103 declan\u0219atorul \u201eC\u00e2nd se prime\u0219te o cerere HTTP\u201d face parte din sec\u021biunea conectorilor Premium \u0219i este disponibil doar prin achizi\u021bionarea unui plan separat pentru acest produs.<\/p>\n<p>\u00cen articolul urm\u0103tor, vom discuta despre diverse cazuri care pot fi realizate cu ajutorul Logic Apps.<br \/>\n<br \/>Sursa: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/496716\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c \u0432\u0441\u0435\u043c! \u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043d\u043e\u0439 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044e Power Automate \u0438 Logic Apps, \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u044f \u043c\u0435\u0436\u0434\u0443 Power Automate \u0438 Logic Apps. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0434\u0432\u0438\u043d\u0443\u0442\u044c\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435 \u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u0438\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0435\u0439\u0441\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Power Automate. Microsoft Power [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":77887,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-77886","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c \u0432\u0441\u0435\u043c!\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/ro\/blog\/administrirovanie\/power-automate-vs-logic-apps-kejsy-power-automate\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ro_RO\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Power Automate VS Logic Apps. \u041a\u0435\u0439\u0441\u044b Power Automate | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c \u0432\u0441\u0435\u043c!\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/ro\/blog\/administrirovanie\/power-automate-vs-logic-apps-kejsy-power-automate\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-04-14T11:43:20+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-04-14T11:43:20+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Power Automate VS Logic Apps. Cazuri Power Automate | ProHoster","description":"Bun\u0103 ziua tuturor!","canonical_url":"https:\/\/prohoster.info\/ro\/blog\/administrirovanie\/power-automate-vs-logic-apps-kejsy-power-automate","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"ro_RO","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Power Automate VS Logic Apps. \u041a\u0435\u0439\u0441\u044b Power Automate | ProHoster","og:description":"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c \u0432\u0441\u0435\u043c!","og:url":"https:\/\/prohoster.info\/ro\/blog\/administrirovanie\/power-automate-vs-logic-apps-kejsy-power-automate","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-04-14T11:43:20+00:00","article:modified_time":"2020-04-14T11:43:20+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"77886","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 17:09:33","updated":"2022-09-28 22:50:37","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/77886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/comments?post=77886"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/77886\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media\/77887"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media?parent=77886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/categories?post=77886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/tags?post=77886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}