{ "workflow": { "wf_id": "20200430-1349-0621-8b7a-dc986397d06b", "description": "", "created": "2020-04-30T13:49:06.221+00.00", "general": "", "maintainance": "", "special": "", "wf_folder": "Plural Prod Alerts", "wf_name": "TESTE_NEW", "updated": "2020-04-30T13:59:09.277+00.00", "updated_by": "Administrator@AMBERFIN", "variable": { "wf_size": 564.7152 }, "nodes": [ { "id": "20200430-1349-3077-73ff-2c5c371d710f", "type": "mon_folder", "custom_proc_guid": "", "bypass": false, "execute_on": "success", "outbounds": [ { "type": "op_populate", "id": "20200430-1353-0597-066a-f42e6d2e315e" } ], "preset": { "id": null, "name": "(custom)" }, "properties": { "folder": "\\\\NEXPLR\\TESTE\\New_folder", "accept_files": "*.aaf", "deny": { "files": "", "folders": "New_folder", "attributes": { "read": false, "arch": false, "sys": false, "hidden": false } }, "recurse": true, "localize": false, "create_folder": false, "growing_files": true, "forget_missing": false, "file_size_mod": "once", "file_limit": "None" }, "pos_x": 75, "pos_y": 75, "start_proc": true }, { "bypass": false, "type": "op_populate", "execute_on": "success", "properties": { "variables": [ { "name": "s_formated_folder_path_mac", "data": "$replace($replace($replace(\"%s_original_path%\",\"\\\",\"\/\"),\" \",\"%20\"),\"\/\/nexplr\",\"\/Volumes\")" }, { "name": "s_formated_folder_path_win", "data": "$replace($replace(\"%s_original_path%\",\"\\\",\"\\\"),\" \",\"%20\")" } ] }, "name": "Populate Generic", "id": "20200430-1352-5063-1a5a-0e3e371bf919", "outbounds": [ { "type": "other_email", "id": "20200430-1353-3772-0dbb-845deaabcda4" } ], "pos_x": 1769.1456, "pos_y": 545.596, "start_proc": false }, { "name": "", "type": "op_populate", "execute_on": "success", "bypass": false, "properties": { "variables": [ { "name": "s_current_mail_list", "data": "%S_TECNICA_MAIL_LIST%", "type": "string" }, { "name": "s_current_type", "data": "%S_TECNICA_TYPE_NAMES%", "type": "string" } ] }, "preset": { "name": "(custom)", "id": null }, "id": "20200430-1353-0597-066a-f42e6d2e315e", "outbounds": [ { "type": "op_populate", "id": "20200430-1352-5063-1a5a-0e3e371bf919" } ], "pos_x": 922.0728, "pos_y": 75, "start_proc": false }, { "name": "", "bypass": false, "type": "other_email", "execute_on": "success", "properties": { "body": "Novo ficheiro adicionado:\r\n

\r\nFicheiro: %s_original_name%.%s_original_ext%<\/strong>\r\n

\r\nPasta (MacOS): file:\/\/%s_formated_folder_path_mac%<\/a>\r\n
\r\nPasta (Windows):
%s_formated_folder_path_win%<\/a>\r\n

\r\nEm MacOS use o Google Chrome ou o Safari. clique com o botão do lado direito e escolha \"Open URL\".\r\n
\r\nEm Windows copie o hiperlink e cole na barra de endereços do Explorer.\r\n", "to": "%s_current_mail_list%", "cc": "", "bcc": "", "subject": "%s_current_type% Alert - %s_wf_name% - %s_original_name%.%s_original_ext% ", "importance": "Normal" }, "preset": { "name": "(custom)", "id": null }, "id": "20200430-1353-3772-0dbb-845deaabcda4", "pos_x": 2616.2184, "pos_y": 75, "start_proc": false } ] }, "user_variables": { "variables": [ { "name": "s_current_mail_list", "type": "string", "data": "" }, { "name": "s_current_type", "type": "string", "data": "Motion, Audio, Color, etc" }, { "name": "s_formated_folder_path_mac", "type": "string", "data": "Para formata o caminho para MacOS" }, { "name": "s_formated_folder_path_win", "type": "string", "data": "Para formata o caminho para Windows" } ], "statics": [ { "name": "S_TECNICA_MAIL_LIST", "data": "some@mail.com" }, { "name": "S_TECNICA_TYPE_NAMES", "data": "Tecnica PP" } ] } }