<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.rws.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Project syncing and WebHooks</title><link>https://community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/6409/project-syncing-and-webhooks</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12 Non-Production</generator><item><title>Project syncing and WebHooks</title><link>https://community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/6409/project-syncing-and-webhooks</link><pubDate>Fri, 02 Sep 2022 12:07:45 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:6752fe1a-022e-4250-99a4-d99a571c8f5e</guid><dc:creator>Eugene Kuchynski</dc:creator><comments>https://community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/6409/project-syncing-and-webhooks#comments</comments><description>Current Revision posted to Wiki by Eugene Kuchynski on 9/2/2022 12:07:45 PM&lt;br /&gt;
&lt;h1&gt;Overview&lt;/h1&gt;
&lt;p&gt;TBM allows to synchronize TBM and Language Cloud projects in a manual and (semi) automatic way, by leveraging WebHooks functionality provided by Language Cloud platform. This article contains 2 sections covering these types of synchronization.&lt;/p&gt;
&lt;h1&gt;Manual syncing&lt;/h1&gt;
&lt;p&gt;If you have a project in TBM which is already linked with Language Cloud project, you can select it, and then click &lt;strong&gt;RWS - RWS Language Cloud - Sync project&lt;/strong&gt; menu item. TBM will retrieve all tasks from a linked Language Cloud project, find matching translation jobs and assignments, and then display this data in user-friendly way using modal dialog, which looks like this:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:600px;max-width:900px;" alt=" " src="/resized-image/__size/1800x1200/__key/communityserver-wikis-components-files/00-00-00-02-93/pastedimage1657716955666v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Take a note that only tasks which are linked with TBM service types will be shown in this window. This means that before using syncing functionality you have to open Reference Data - Service types, and confirm that necessary service types are linked with Language Cloud task types.&lt;/p&gt;
&lt;p&gt;List displayed in the main area contains records corresponding to each task-file-language combination. It allows to create separate jobs and assignments in TBM for individual files (to split files/assignments between different vendors). In the &lt;strong&gt;Assigned users&lt;/strong&gt; column you can see user names who are currently assigned to Language Cloud tasks. &lt;strong&gt;TBM assignment tasks&lt;/strong&gt; column contains blocks with information about tasks found in a TBM project. If this cell is empty in any row, then it means that corresponding task is not found (or does not exist).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Target action&lt;/strong&gt; column allows to select one of the following actions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Do nothing&lt;/strong&gt;. Record will be skipped (no actions will be performed for this Language Cloud task)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Create new job and assignment in TBM&lt;/strong&gt;. If matching job and assignment do not exist in TBM, they will be automatically created. TBM will import analysis and try to find matching vendor. If vendor is found, TBM will apply their prices and generate purchase order. If Language Cloud task status is processing, then assignment will also be switched to &lt;strong&gt;In work&lt;/strong&gt; status.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Link with existing task&lt;/strong&gt;. If you have matching task in TBM but it is not linked with Language Cloud task, you can drag it from the right panel to the&amp;nbsp;&lt;strong&gt;TBM assignment tasks&lt;/strong&gt;&lt;span&gt;&amp;nbsp;column&amp;nbsp;and establish this link.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Assign in Language Cloud&lt;/strong&gt;. If TBM assignment has different vendor than Language Cloud task, then you can update Language Cloud project by assigning different user based in a vendor selected in TBM.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Assign in TBM&lt;/strong&gt;. If TBM assignment has different vendor than Language Cloud task, then you can update TBM assignment by importing user selected in an Language Cloud task. TBM will apply new vendor prices and re-generate purchase order (older one will be deleted).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Reload analysis data&lt;/strong&gt;. If total wordcount differs from Language Cloud task total wordcount, then TBM will offer to re-load analysis.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;If right panel displays any unlinked tasks, you can manually drag and drop them to the left table, or use &lt;strong&gt;Try to link automatically...&lt;/strong&gt; button, so TBM attempts to find possible matching Language Cloud task automatically.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If &lt;strong&gt;Target action&lt;/strong&gt; column defines job creation or analysis re-importing, please check &lt;strong&gt;Default analysis import settings&lt;/strong&gt; field in the &lt;strong&gt;Options&lt;/strong&gt; area at the bottom, because this set of settings will be used to automatically import data into jobs and assignments (analysis import dialog won&amp;#39;t be displayed).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When you&amp;#39;re ready, click &lt;strong&gt;Apply&lt;/strong&gt; to go through the table and perform defined tasks. When operation is finished, TBM will reload data from the cloud and you will see updated information in this dialog. If everything is ok, you can close this window, otherwise you can specify&amp;nbsp;more actions to perform and click &lt;strong&gt;Apply&lt;/strong&gt; again.&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;Syncing using WebHooks&lt;/h1&gt;
&lt;p&gt;Language Cloud allows to send specific POST request to external application with a task is created or completed. You can configure it using Integrations page in your Language Cloud instance. See details here:&amp;nbsp;&lt;a id="" href="https://languagecloud.sdl.com/lc/api-docs/5cc9374300b99-webhooks"&gt;https://languagecloud.sdl.com/Language Cloud/api-docs/5cc9374300b99-webhooks&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Default API endpoint which you can use to configure TBM to accept WebHooks from Language Cloud: &lt;strong&gt;https://Your.Instance/&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;api/lc/processwebhook/tbm&lt;/strong&gt;, where &lt;strong&gt;tbm&lt;/strong&gt; at the end is the name of your tenant. If you use multi-tenancy, then please replace &lt;strong&gt;tbm&lt;/strong&gt; with your tenant name. By configuring this URL using &lt;strong&gt;Integrations&lt;/strong&gt; page of your Language Cloud instance, you enable auto-processing of incoming events in your TBM instance.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the TBM instance, please open application settings, switch to the &lt;strong&gt;Integrations&lt;/strong&gt; tab, and provide necessary Language Cloud connection data, including&amp;nbsp;&lt;strong&gt;Language Cloud WebHooks secret&lt;/strong&gt; key.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Currently, TBM supports 2 types of events:&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;strong&gt;PROJECT.TASK.CREATED&lt;/strong&gt; and&amp;nbsp;&lt;strong&gt;PROJECT.TASK.COMPLETED&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When any of these events occurs, Language Cloud will send data to TBM, and TBM will immediately reply with &lt;strong&gt;OK&lt;/strong&gt; response. After that, received event will be processed in the background, in the following order:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For new tasks TBM will:
&lt;ul&gt;
&lt;li&gt;search a project and create it if is missing;&lt;/li&gt;
&lt;li&gt;create necessary jobs and assignments;&lt;/li&gt;
&lt;li&gt;if LC task has a single assignee, this assignee will be selected in created assignment, then the system will calculate amounts and generate PO;&lt;/li&gt;
&lt;li&gt;if there is no assignee in LC task, TBM will search automatically applied vendor group and apply vendor from there, and then send API request to LC to assign that user;&lt;/li&gt;
&lt;li&gt;for all created projects, jobs and assignments, generate notifications using New project created, New job created and New assignment created templates (these templates are all disabled by default).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;For completed tasks, corresponding assignments and jobs will be marked &lt;strong&gt;Finished&lt;/strong&gt;. If all project jobs and assignments are completed, project will also be marked as &lt;strong&gt;Finished&lt;/strong&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Project syncing and WebHooks</title><link>https://community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/6409/project-syncing-and-webhooks/revision/5</link><pubDate>Fri, 26 Aug 2022 06:10:40 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:6752fe1a-022e-4250-99a4-d99a571c8f5e</guid><dc:creator>Eugene Kuchynski</dc:creator><comments>https://community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/6409/project-syncing-and-webhooks#comments</comments><description>Revision 5 posted to Wiki by Eugene Kuchynski on 8/26/2022 6:10:40 AM&lt;br /&gt;
&lt;h1&gt;Overview&lt;/h1&gt;
&lt;p&gt;TBM allows to synchronize TBM and Language Cloud projects in a manual and (semi) automatic way, by leveraging WebHooks functionality provided by Language Cloud platform. This article contains 2 sections covering these types of synchronization.&lt;/p&gt;
&lt;h1&gt;Manual syncing&lt;/h1&gt;
&lt;p&gt;If you have a project in TBM which is already linked with Language Cloud project, you can select it, and then click &lt;strong&gt;RWS - RWS Language Cloud - Sync project&lt;/strong&gt; menu item. TBM will retrieve all tasks from a linked Language Cloud project, find matching translation jobs and assignments, and then display this data in user-friendly way using modal dialog, which looks like this:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:600px;max-width:900px;" alt=" " src="/resized-image/__size/1800x1200/__key/communityserver-wikis-components-files/00-00-00-02-93/pastedimage1657716955666v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Take a note that only tasks which are linked with TBM service types will be shown in this window. This means that before using syncing functionality you have to open Reference Data - Service types, and confirm that necessary service types are linked with Language Cloud task types.&lt;/p&gt;
&lt;p&gt;List displayed in the main area contains records corresponding to each task-file-language combination. It allows to create separate jobs and assignments in TBM for individual files (to split files/assignments between different vendors). In the &lt;strong&gt;Assigned users&lt;/strong&gt; column you can see user names who are currently assigned to Language Cloud tasks. &lt;strong&gt;TBM assignment tasks&lt;/strong&gt; column contains blocks with information about tasks found in a TBM project. If this cell is empty in any row, then it means that corresponding task is not found (or does not exist).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Target action&lt;/strong&gt; column allows to select one of the following actions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Do nothing&lt;/strong&gt;. Record will be skipped (no actions will be performed for this Language Cloud task)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Create new job and assignment in TBM&lt;/strong&gt;. If matching job and assignment do not exist in TBM, they will be automatically created. TBM will import analysis and try to find matching vendor. If vendor is found, TBM will apply their prices and generate purchase order. If Language Cloud task status is processing, then assignment will also be switched to &lt;strong&gt;In work&lt;/strong&gt; status.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Link with existing task&lt;/strong&gt;. If you have matching task in TBM but it is not linked with Language Cloud task, you can drag it from the right panel to the&amp;nbsp;&lt;strong&gt;TBM assignment tasks&lt;/strong&gt;&lt;span&gt;&amp;nbsp;column&amp;nbsp;and establish this link.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Assign in Language Cloud&lt;/strong&gt;. If TBM assignment has different vendor than Language Cloud task, then you can update Language Cloud project by assigning different user based in a vendor selected in TBM.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Assign in TBM&lt;/strong&gt;. If TBM assignment has different vendor than Language Cloud task, then you can update TBM assignment by importing user selected in an Language Cloud task. TBM will apply new vendor prices and re-generate purchase order (older one will be deleted).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Reload analysis data&lt;/strong&gt;. If total wordcount differs from Language Cloud task total wordcount, then TBM will offer to re-load analysis.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;If right panel displays any unlinked tasks, you can manually drag and drop them to the left table, or use &lt;strong&gt;Try to link automatically...&lt;/strong&gt; button, so TBM attempts to find possible matching Language Cloud task automatically.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If &lt;strong&gt;Target action&lt;/strong&gt; column defines job creation or analysis re-importing, please check &lt;strong&gt;Default analysis import settings&lt;/strong&gt; field in the &lt;strong&gt;Options&lt;/strong&gt; area at the bottom, because this set of settings will be used to automatically import data into jobs and assignments (analysis import dialog won&amp;#39;t be displayed).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When you&amp;#39;re ready, click &lt;strong&gt;Apply&lt;/strong&gt; to go through the table and perform defined tasks. When operation is finished, TBM will reload data from the cloud and you will see updated information in this dialog. If everything is ok, you can close this window, otherwise you can specify&amp;nbsp;more actions to perform and click &lt;strong&gt;Apply&lt;/strong&gt; again.&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;Syncing using WebHooks&lt;/h1&gt;
&lt;p&gt;Language Cloud allows to send specific POST request to external application with a task is created or completed. You can configure it using Integrations page in your Language Cloud instance. See details here:&amp;nbsp;&lt;a id="" href="https://languagecloud.sdl.com/lc/api-docs/5cc9374300b99-webhooks"&gt;https://languagecloud.sdl.com/Language Cloud/api-docs/5cc9374300b99-webhooks&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Default API endpoint which you can use to configure TBM to accept WebHooks from Language Cloud: &lt;strong&gt;https://Your.Instance/&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;api/lc/processwebhook/tbm&lt;/strong&gt;, where &lt;strong&gt;tbm&lt;/strong&gt; at the end is the name of your tenant. If you use multi-tenancy, then please replace &lt;strong&gt;tbm&lt;/strong&gt; with your tenant name. By configuring this URL using &lt;strong&gt;Integrations&lt;/strong&gt; page of your Language Cloud instance, you enable auto-processing of incoming events in your TBM instance.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the TBM instance, please open application settings, switch to the &lt;strong&gt;Integrations&lt;/strong&gt; tab, and provide necessary Language Cloud connection data, including&amp;nbsp;&lt;strong&gt;Language Cloud WebHooks secret&lt;/strong&gt; key.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Currently, TBM supports only 2 types of events:&amp;nbsp;&lt;/span&gt;&lt;span&gt;PROJECT.TASK.CREATED and&amp;nbsp;PROJECT.TASK.COMPLETED.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When any of these events occurs, Language Cloud will send data to TBM, and TBM will immediately reply with OK response. After that, received event will be processed in the background. For completed tasks, corresponding assignments and jobs will be marked &lt;strong&gt;Finished&lt;/strong&gt;. As for new tasks, TBM will create necessary jobs and assignments, find corresponding vendor (if Language Cloud task has defined single assignee), generate PO and also generate notifications (to responsible person or all managers, if project responsible person is not specified) with information about created entities. For these notifications, message template of the &lt;strong&gt;Other&lt;/strong&gt; type is used, and the only variable supported there is &lt;strong&gt;AdditionalText&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;div id="gtx-trans" style="left:700px;position:absolute;top:1066.17px;"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Project syncing and WebHooks</title><link>https://community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/6409/project-syncing-and-webhooks/revision/4</link><pubDate>Thu, 25 Aug 2022 09:37:21 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:6752fe1a-022e-4250-99a4-d99a571c8f5e</guid><dc:creator>Paul</dc:creator><comments>https://community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/6409/project-syncing-and-webhooks#comments</comments><description>Revision 4 posted to Wiki by Paul on 8/25/2022 9:37:21 AM&lt;br /&gt;
&lt;h1&gt;Overview&lt;/h1&gt;
&lt;p&gt;TBM allows to synchronize TBM and Language Cloud projects in a manual and (semi) automatic way, by leveraging WebHooks functionality provided by Language Cloud platform. This article contains 2 sections covering these types of synchronization.&lt;/p&gt;
&lt;h1&gt;Manual syncing&lt;/h1&gt;
&lt;p&gt;If you have a project in TBM which is already linked with Language Cloud project, you can select it, and then click &lt;strong&gt;RWS - RWS Language Cloud - Sync project&lt;/strong&gt; menu item. TBM will retrieve all tasks from a linked Language Cloud project, find matching translation jobs and assignments, and then display this data in user-friendly way using modal dialog, which looks like this:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:600px;max-width:900px;" alt=" " src="/resized-image/__size/1800x1200/__key/communityserver-wikis-components-files/00-00-00-02-93/pastedimage1657716955666v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Take a note that only tasks which are linked with TBM service types will be shown in this window. This means that before using syncing functionality you have to open Reference Data - Service types, and confirm that necessary service types are linked with Language Cloud task types.&lt;/p&gt;
&lt;p&gt;List displayed in the main area contains records corresponding to each task-file-language combination. It allows to create separate jobs and assignments in TBM for individual files (to split files/assignments between different vendors). In the &lt;strong&gt;Assigned users&lt;/strong&gt; column you can see user names who are currently assigned to Language Cloud tasks. &lt;strong&gt;TBM assignment tasks&lt;/strong&gt; column contains blocks with information about tasks found in a TBM project. If this cell is empty in any row, then it means that corresponding task is not found (or does not exist).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Target action&lt;/strong&gt; column allows to select one of the following actions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Do nothing&lt;/strong&gt;. Record will be skipped (no actions will be performed for this Language Cloud task)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Create new job and assignment in TBM&lt;/strong&gt;. If matching job and assignment do not exist in TBM, they will be automatically created. TBM will import analysis and try to find matching vendor. If vendor is found, TBM will apply their prices and generate purchase order. If Language Cloud task status is processing, then assignment will also be switched to &lt;strong&gt;In work&lt;/strong&gt; status.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Link with existing task&lt;/strong&gt;. If you have matching task in TBM but it is not linked with Language Cloud task, you can drag it from the right panel to the&amp;nbsp;&lt;strong&gt;TBM assignment tasks&lt;/strong&gt;&lt;span&gt;&amp;nbsp;column&amp;nbsp;and establish this link.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Assign in Language Cloud&lt;/strong&gt;. If TBM assignment has different vendor than Language Cloud task, then you can update Language Cloud project by assigning different user based in a vendor selected in TBM.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Assign in TBM&lt;/strong&gt;. If TBM assignment has different vendor than Language Cloud task, then you can update TBM assignment by importing user selected in an Language Cloud task. TBM will apply new vendor prices and re-generate purchase order (older one will be deleted).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Reload analysis data&lt;/strong&gt;. If total wordcount differs from Language Cloud task total wordcount, then TBM will offer to re-load analysis.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;If right panel displays any unlinked tasks, you can manually drag and drop them to the left table, or use &lt;strong&gt;Try to link automatically...&lt;/strong&gt; button, so TBM attempts to find possible matching Language Cloud task automatically.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If &lt;strong&gt;Target action&lt;/strong&gt; column defines job creation or analysis re-importing, please check &lt;strong&gt;Default analysis import settings&lt;/strong&gt; field in the &lt;strong&gt;Options&lt;/strong&gt; area at the bottom, because this set of settings will be used to automatically import data into jobs and assignments (analysis import dialog won&amp;#39;t be displayed).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When you&amp;#39;re ready, click &lt;strong&gt;Apply&lt;/strong&gt; to go through the table and perform defined tasks. When operation is finished, TBM will reload data from the cloud and you will see updated information in this dialog. If everything is ok, you can close this window, otherwise you can specify&amp;nbsp;more actions to perform and click &lt;strong&gt;Apply&lt;/strong&gt; again.&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;Syncing using WebHooks&lt;/h1&gt;
&lt;p&gt;Language Cloud allows to send specific POST request to external application with a task is created or completed. You can configure it using Integrations page in your Language Cloud instance. See details here:&amp;nbsp;&lt;a id="" href="https://languagecloud.sdl.com/lc/api-docs/5cc9374300b99-webhooks"&gt;https://languagecloud.sdl.com/Language Cloud/api-docs/5cc9374300b99-webhooks&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Default API endpoint which you can use to configure TBM to accept WebHooks from Language Cloud: &lt;strong&gt;https://Your.Instance/&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;api/Language Cloud/processwebhook/tbm&lt;/strong&gt;, where &lt;strong&gt;tbm&lt;/strong&gt; at the end is the name of your tenant. If you use multi-tenancy, then please replace &lt;strong&gt;tbm&lt;/strong&gt; with your tenant name. By configuring this URL using &lt;strong&gt;Integrations&lt;/strong&gt; page of your Language Cloud instance, you enable auto-processing of incoming events in your TBM instance.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the TBM instance, please open application settings, switch to the &lt;strong&gt;Integrations&lt;/strong&gt; tab, and provide necessary Language Cloud connection data, including&amp;nbsp;&lt;strong&gt;Language Cloud WebHooks secret&lt;/strong&gt; key.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Currently, TBM supports only 2 types of events:&amp;nbsp;&lt;/span&gt;&lt;span&gt;PROJECT.TASK.CREATED and&amp;nbsp;PROJECT.TASK.COMPLETED.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When any of these events occurs, Language Cloud will send data to TBM, and TBM will immediately reply with OK response. After that, received event will be processed in the background. For completed tasks, corresponding assignments and jobs will be marked &lt;strong&gt;Finished&lt;/strong&gt;. As for new tasks, TBM will create necessary jobs and assignments, find corresponding vendor (if Language Cloud task has defined single assignee), generate PO and also generate notifications (to responsible person or all managers, if project responsible person is not specified) with information about created entities. For these notifications, message template of the &lt;strong&gt;Other&lt;/strong&gt; type is used, and the only variable supported there is &lt;strong&gt;AdditionalText&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Project syncing and WebHooks</title><link>https://community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/6409/project-syncing-and-webhooks/revision/3</link><pubDate>Thu, 14 Jul 2022 11:55:53 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:6752fe1a-022e-4250-99a4-d99a571c8f5e</guid><dc:creator>Eugene Kuchynski</dc:creator><comments>https://community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/6409/project-syncing-and-webhooks#comments</comments><description>Revision 3 posted to Wiki by Eugene Kuchynski on 7/14/2022 11:55:53 AM&lt;br /&gt;
&lt;h1&gt;Overview&lt;/h1&gt;
&lt;p&gt;TBM allows to synchronize TBM and LC projects in a manual and (semi) automatic way, by leveraging WebHooks functionality provided by Language Cloud platform. This article contains 2 sections covering these types of synchronization.&lt;/p&gt;
&lt;h1&gt;Manual syncing&lt;/h1&gt;
&lt;p&gt;If you have a project in TBM which is already linked with LC project, you can select it, and then click &lt;strong&gt;RWS - RWS Language Cloud - Sync project&lt;/strong&gt; menu item. TBM will retrieve all tasks from a linked LC project, find matching translation jobs and assignments, and then display this data in user-friendly way using modal dialog, which looks like this:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:600px;max-width:900px;" alt=" " src="/resized-image/__size/1800x1200/__key/communityserver-wikis-components-files/00-00-00-02-93/pastedimage1657716955666v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Take a note that only tasks which are linked with TBM service types will be shown in this window. This means that before using syncing functionality you have to open Reference Data - Service types, and confirm that necessary service types are linked with LC task types.&lt;/p&gt;
&lt;p&gt;List displayed in the main area contains records corresponding to each task-file-language combination. It allows to create separate jobs and assignments in TBM for individual files (to split files/assignments between different vendors). In the &lt;strong&gt;Assigned users&lt;/strong&gt; column you can see user names who are currently assigned to LC tasks. &lt;strong&gt;TBM assignment tasks&lt;/strong&gt; column contains blocks with information about tasks found in a TBM project. If this cell is empty in any row, then it means that corresponding task is not found (or does not exist).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Target action&lt;/strong&gt; column allows to select one of the following actions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Do nothing&lt;/strong&gt;. Record will be skipped (no actions will be performed for this LC task)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Create new job and assignment in TBM&lt;/strong&gt;. If matching job and assignment do not exist in TBM, they will be automatically created. TBM will import analysis and try to find matching vendor. If vendor is found, TBM will apply their prices and generate purchase order. If LC task status is processing, then assignment will also be switched to &lt;strong&gt;In work&lt;/strong&gt; status.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Link with existing task&lt;/strong&gt;. If you have matching task in TBM but it is not linked with LC task, you can drag it from the right panel to the&amp;nbsp;&lt;strong&gt;TBM assignment tasks&lt;/strong&gt;&lt;span&gt;&amp;nbsp;column&amp;nbsp;and establish this link.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Assign in LC&lt;/strong&gt;. If TBM assignment has different vendor than LC task, then you can update LC project by assigning different user based in a vendor selected in TBM.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Assign in TBM&lt;/strong&gt;. If TBM assignment has different vendor than LC task, then you can update TBM assignment by importing user selected in an LC task. TBM will apply new vendor prices and re-generate purchase order (older one will be deleted).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Reload analysis data&lt;/strong&gt;. If total wordcount differs from LC task total wordcount, then TBM will offer to re-load analysis.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;If right panel displays any unlinked tasks, you can manually drag and drop them to the left table, or use &lt;strong&gt;Try to link automatically...&lt;/strong&gt; button, so TBM attempts to find possible matching LC task automatically.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If &lt;strong&gt;Target action&lt;/strong&gt; column defines job creation or analysis re-importing, please check &lt;strong&gt;Default analysis import settings&lt;/strong&gt; field in the &lt;strong&gt;Options&lt;/strong&gt; area at the bottom, because this set of settings will be used to automatically import data into jobs and assignments (analysis import dialog won&amp;#39;t be displayed).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When you&amp;#39;re ready, click &lt;strong&gt;Apply&lt;/strong&gt; to go through the table and perform defined tasks. When operation is finished, TBM will reload data from the cloud and you will see updated information in this dialog. If everything is ok, you can close this window, otherwise you can specify&amp;nbsp;more actions to perform and click &lt;strong&gt;Apply&lt;/strong&gt; again.&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;Syncing using WebHooks&lt;/h1&gt;
&lt;p&gt;Language Cloud allows to send specific POST request to external application with a task is created or completed. You can configure it using Integrations page in your Language Cloud instance. See details here:&amp;nbsp;&lt;a id="" href="https://languagecloud.sdl.com/lc/api-docs/5cc9374300b99-webhooks"&gt;https://languagecloud.sdl.com/lc/api-docs/5cc9374300b99-webhooks&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Default API endpoint which you can use to configure TBM to accept WebHooks from LC: &lt;strong&gt;https://Your.Instance/&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;api/lc/processwebhook/tbm&lt;/strong&gt;, where &lt;strong&gt;tbm&lt;/strong&gt; at the end is the name of your tenant. If you use multi-tenancy, then please replace &lt;strong&gt;tbm&lt;/strong&gt; with your tenant name. By configuring this URL using &lt;strong&gt;Integrations&lt;/strong&gt; page of your LC instance, you enable auto-processing of incoming events in your TBM instance.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the TBM instance, please open application settings, switch to the &lt;strong&gt;Integrations&lt;/strong&gt; tab, and provide necessary LC connection data, including&amp;nbsp;&lt;strong&gt;Language Cloud WebHooks secret&lt;/strong&gt; key.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Currently, TBM supports only 2 types of events:&amp;nbsp;&lt;/span&gt;&lt;span&gt;PROJECT.TASK.CREATED and&amp;nbsp;PROJECT.TASK.COMPLETED.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When any of these events occurs, LC will send data to TBM, and TBM will immediately reply with OK response. After that, received event will be processed in the background. For completed tasks, corresponding assignments and jobs will be marked &lt;strong&gt;Finished&lt;/strong&gt;. As for new tasks, TBM will create necessary jobs and assignments, find corresponding vendor (if LC task has defined single assignee), generate PO and also generate notifications (to responsible person or all managers, if project responsible person is not specified) with information about created entities. For these notifications, message template of the &lt;strong&gt;Other&lt;/strong&gt; type is used, and the only variable supported there is &lt;strong&gt;AdditionalText&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Project syncing and WebHooks</title><link>https://community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/6409/project-syncing-and-webhooks/revision/2</link><pubDate>Wed, 13 Jul 2022 13:22:16 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:6752fe1a-022e-4250-99a4-d99a571c8f5e</guid><dc:creator>Eugene Kuchynski</dc:creator><comments>https://community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/6409/project-syncing-and-webhooks#comments</comments><description>Revision 2 posted to Wiki by Eugene Kuchynski on 7/13/2022 1:22:16 PM&lt;br /&gt;
&lt;h1&gt;Overview&lt;/h1&gt;
&lt;p&gt;TBM allows to synchronize TBM and LC projects in a manual and (semi) automatic way, by leveraging WebHooks functionality provided by Language Cloud platform. This article contains 2 sections covering these types of synchronization.&lt;/p&gt;
&lt;h1&gt;Manual syncing&lt;/h1&gt;
&lt;p&gt;If you have a project in TBM which is already linked with LC project, you can select it, and then click &lt;strong&gt;RWS - RWS Language Cloud - Sync project&lt;/strong&gt; menu item. TBM will retrieve all tasks from a linked LC project, find matching translation jobs and assignments, and then display this data in user-friendly way using modal dialog, which looks like this:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:600px;max-width:900px;" alt=" " src="/resized-image/__size/1800x1200/__key/communityserver-wikis-components-files/00-00-00-02-93/pastedimage1657716955666v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Take a note that only tasks which are linked with TBM service types will be shown in this window. This means that before using syncing functionality you have to open Reference Data - Service types, and confirm that necessary service types are linked with LC task types.&lt;/p&gt;
&lt;p&gt;List displayed in the main area contains records corresponding to each task-file-language combination. It allows to create separate jobs and assignments in TBM for individual files (to split files/assignments between different vendors). In the &lt;strong&gt;Assigned users&lt;/strong&gt; column you can see user names who are currently assigned to LC tasks. &lt;strong&gt;TBM assignment tasks&lt;/strong&gt; column contains blocks with information about tasks found in a TBM project. If this cell is empty in any row, then it means that corresponding task is not found (or does not exist).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Target action&lt;/strong&gt; column allows to select one of the following actions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Do nothing&lt;/strong&gt;. Record will be skipped (no actions will be performed for this LC task)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Create new job and assignment in TBM&lt;/strong&gt;. If matching job and assignment do not exist in TBM, they will be automatically created. TBM will import analysis and try to find matching vendor. If vendor is found, TBM will apply their prices and generate purchase order. If LC task status is processing, then assignment will also be switched to &lt;strong&gt;In work&lt;/strong&gt; status.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Link with existing task&lt;/strong&gt;. If you have matching task in TBM but it is not linked with LC task, you can drag it from the right panel to the&amp;nbsp;&lt;strong&gt;TBM assignment tasks&lt;/strong&gt;&lt;span&gt;&amp;nbsp;column&amp;nbsp;and establish this link.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Assign in LC&lt;/strong&gt;. If TBM assignment has different vendor than LC task, then you can update LC project by assigning different user based in a vendor selected in TBM.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Assign in TBM&lt;/strong&gt;. If TBM assignment has different vendor than LC task, then you can update TBM assignment by importing user selected in an LC task. TBM will apply new vendor prices and re-generate purchase order (older one will be deleted).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Reload analysis data&lt;/strong&gt;. If total wordcount differs from LC task total wordcount, then TBM will offer to re-load analysis.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;If right panel displays any unlinked tasks, you can manually drag and drop them to the left table, or use &lt;strong&gt;Try to link automatically...&lt;/strong&gt; button, so TBM attempts to find possible matching LC task automatically.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If &lt;strong&gt;Target action&lt;/strong&gt; column defines job creation or analysis re-importing, please check &lt;strong&gt;Default analysis import settings&lt;/strong&gt; field in the &lt;strong&gt;Options&lt;/strong&gt; area at the bottom, because this set of settings will be used to automatically import data into jobs and assignments (analysis import dialog won&amp;#39;t be displayed).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When you&amp;#39;re ready, click &lt;strong&gt;Apply&lt;/strong&gt; to go through the table and perform defined tasks. When operation is finished, TBM will reload data from the cloud and you will see updated information in this dialog. If everything is ok, you can close this window, otherwise you can specify&amp;nbsp;more actions to perform and click &lt;strong&gt;Apply&lt;/strong&gt; again.&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;Syncing using WebHooks&lt;/h1&gt;
&lt;p&gt;Language Cloud allows to send specific POST request to external application with a task is created or completed. You can configure it using Integrations page in your Language Cloud instance. See details here:&amp;nbsp;&lt;a id="" href="https://languagecloud.sdl.com/lc/api-docs/5cc9374300b99-webhooks"&gt;https://languagecloud.sdl.com/lc/api-docs/5cc9374300b99-webhooks&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Default API endpoint which you can use to configure TBM to accept WebHooks from LC: &lt;strong&gt;https://Your.Instance/&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;api/lc/processwebhook/tbm&lt;/strong&gt;, where &lt;strong&gt;tbm&lt;/strong&gt; at the end is the name of your tenant. If you use multi-tenancy, then please replace &lt;strong&gt;tbm&lt;/strong&gt; with your tenant name. By configuring this URL using &lt;strong&gt;Integrations&lt;/strong&gt; page of your LC instance, you enable auto-processing of incoming events in your TBM instance.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Currently, TBM supports only 2 types of events:&amp;nbsp;&lt;/span&gt;&lt;span&gt;PROJECT.TASK.CREATED and&amp;nbsp;PROJECT.TASK.COMPLETED.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Project syncing and WebHooks</title><link>https://community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/6409/project-syncing-and-webhooks/revision/1</link><pubDate>Wed, 13 Jul 2022 13:04:46 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:6752fe1a-022e-4250-99a4-d99a571c8f5e</guid><dc:creator>Eugene Kuchynski</dc:creator><comments>https://community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/6409/project-syncing-and-webhooks#comments</comments><description>Revision 1 posted to Wiki by Eugene Kuchynski on 7/13/2022 1:04:46 PM&lt;br /&gt;
&lt;h1&gt;Overview&lt;/h1&gt;
&lt;p&gt;TBM allows to synchronize TBM and LC projects in a manual and (semi) automatic way, by leveraging WebHooks functionality provided by Language Cloud platform. This article contains 2 sections covering these types of synchronization.&lt;/p&gt;
&lt;h1&gt;Manual syncing&lt;/h1&gt;
&lt;p&gt;If you have a project in TBM which is already linked with LC project, you can select it, and then click &lt;strong&gt;RWS - RWS Language Cloud - Sync project&lt;/strong&gt; menu item. TBM will retrieve all tasks from a linked LC project, find matching translation jobs and assignments, and then display this data in user-friendly way using modal dialog, which looks like this:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:600px;max-width:900px;" src="/resized-image/__size/1800x1200/__key/communityserver-wikis-components-files/00-00-00-02-93/pastedimage1657716955666v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Take a note that only tasks which are linked with TBM service types will be shown in this window. This means that before using syncing functionality you have to open Reference Data - Service types, and confirm that necessary service types are linked with LC task types.&lt;/p&gt;
&lt;p&gt;List displayed in the main area contains records corresponding to each task-file-language combination. It allows to create separate jobs and assignments in TBM for individual files (to split files/assignments between different vendors). In the &lt;strong&gt;Assigned users&lt;/strong&gt; column you can see user names who are currently assigned to LC tasks. &lt;strong&gt;TBM assignment tasks&lt;/strong&gt; column contains blocks with information about tasks found in a TBM project. If this cell is empty in any row, then it means that corresponding task is not found (or does not exist).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Target action&lt;/strong&gt; column allows to select one of the following actions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Do nothing&lt;/strong&gt;. Record will be skipped (no actions will be performed for this LC task)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Create new job and assignment in TBM&lt;/strong&gt;. If matching job and assignment do not exist in TBM, they will be automatically created. TBM will import analysis and try to find matching vendor. If vendor is found, TBM will apply their prices and generate purchase order. If LC task status is processing, then assignment will also be switched to &lt;strong&gt;In work&lt;/strong&gt; status.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Link with existing task&lt;/strong&gt;. If you have matching task in TBM but it is not linked with LC task, you can drag it from the right panel to the&amp;nbsp;&lt;strong&gt;TBM assignment tasks&lt;/strong&gt;&lt;span&gt;&amp;nbsp;column&amp;nbsp;and establish this link.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Assign in LC&lt;/strong&gt;. If TBM assignment has different vendor than LC task, then you can update LC project by assigning different user based in a vendor selected in TBM.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Assign in TBM&lt;/strong&gt;. If TBM assignment has different vendor than LC task, then you can update TBM assignment by importing user selected in an LC task. TBM will apply new vendor prices and re-generate purchase order (older one will be deleted).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;&lt;strong&gt;Reload analysis data&lt;/strong&gt;. If total wordcount differs from LC task total wordcount, then TBM will offer to re-load analysis.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Syncing using WebHooks&lt;/h1&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>