{
	"ProcessTemplates": [
		{
			"Name": "Magento to Dynamics365 - Products & Prices",
			"Modified": "2024-07-11T11:07:54.9459144",
			"Modifier": "janne.pennanen@frends.com",
			"Tags": [
				"Magento",
				"Dynamics365"
			],
			"TemplateProcessTags": [],
			"Description": "This template process retrieves products and their prices from Magento and inserts or updates them into Dynamics365. ",
			"Version": 1,
			"UniqueIdentifier": "2c68eca8-4956-42d5-b5f5-a43ce4beff44",
			"ProcessVariablesJson": "{\"Dynamics365ClientId\":{\"Value\":\"\\\"aaaaa-bbbbb-ccccc\\\"\",\"IsSecret\":false,\"Mode\":\"text\",\"Description\":\"The client ID for Dynamics365.\"},\"Dynamics365TenantId\":{\"Value\":\"\\\"11111-22222-33333\\\"\",\"IsSecret\":false,\"Mode\":\"text\",\"Description\":\"The tenant ID for Dynamics365.\"},\"Dynamics365ClientSecret\":{\"Value\":\"\\\"\\\"\",\"IsSecret\":true,\"Mode\":\"text\",\"Description\":\"The client secret for Dynamics365.\"},\"Dynamics365Url\":{\"Value\":\"\\\"https://<my-dynamics-instance>.dynamics.com\\\"\",\"IsSecret\":false,\"Mode\":\"text\",\"Description\":\"The URL for your Dynamics365 instance.\"},\"MagentoBaseUrl\":{\"Value\":\"\\\"\\\"\",\"IsSecret\":false,\"Mode\":\"text\",\"Description\":\"The URL for your Magento instance.\"},\"MagentoUser\":{\"Value\":\"\\\"myUsername\\\"\",\"IsSecret\":false,\"Mode\":\"text\",\"Description\":\"The username for Magento.\"},\"MagentoPassword\":{\"Value\":\"\\\"myPassword\\\"\",\"IsSecret\":true,\"Mode\":\"text\",\"Description\":\"The password for Magento.\"}}",
			"ProcessInfo": {
				"Process": {
					"Name": "Magento to Dynamics365 - Products & Prices",
					"Modified": "2024-07-11T11:07:54.9459144",
					"Modifier": "janne.pennanen@frends.com",
					"TagString": null,
					"Tags": [],
					"Description": "This template process retrieves products and their prices from Magento and inserts or updates them into Dynamics365. ",
					"Version": 1,
					"UniqueIdentifier": "f410e088-92fd-4935-af95-5196be465097",
					"GraphJson": null,
					"Bpmn": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<bpmn2:definitions xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:bpmn2=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sample-diagram\" targetNamespace=\"http://bpmn.io/schema/bpmn\" xsi:schemaLocation=\"http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd\"><bpmn2:process id=\"Process_1\" isExecutable=\"false\"><bpmn2:startEvent id=\"StartEvent_1\" name=\"Schedule\"><bpmn2:outgoing>Flow_0mrxri9</bpmn2:outgoing></bpmn2:startEvent><bpmn2:task id=\"Activity_06cd32o\" name=\"Obtain authorisation token from Magento\"><bpmn2:incoming>Flow_0mrxri9</bpmn2:incoming><bpmn2:outgoing>Flow_16u2qy6</bpmn2:outgoing></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_0mrxri9\" sourceRef=\"StartEvent_1\" targetRef=\"Activity_06cd32o\" /><bpmn2:exclusiveGateway id=\"Gateway_08yc1ft\" name=\"Token received?\" default=\"Flow_1sw1nin\"><bpmn2:incoming>Flow_16u2qy6</bpmn2:incoming><bpmn2:outgoing>Flow_0pejhp8</bpmn2:outgoing><bpmn2:outgoing>Flow_1sw1nin</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_16u2qy6\" sourceRef=\"Activity_06cd32o\" targetRef=\"Gateway_08yc1ft\" /><bpmn2:task id=\"Activity_1rng89p\" name=\"Get product and price information from Magento\"><bpmn2:incoming>Flow_0pejhp8</bpmn2:incoming><bpmn2:outgoing>Flow_1hazp5e</bpmn2:outgoing><bpmn2:property id=\"Property_1of622f\" name=\"__targetRef_placeholder\" /><bpmn2:dataInputAssociation id=\"DataInputAssociation_13b9987\"><bpmn2:sourceRef>DataStoreReference_1os5a3s</bpmn2:sourceRef><bpmn2:targetRef>Property_1of622f</bpmn2:targetRef></bpmn2:dataInputAssociation></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_0pejhp8\" name=\"yes\" sourceRef=\"Gateway_08yc1ft\" targetRef=\"Activity_1rng89p\" /><bpmn2:exclusiveGateway id=\"Gateway_1715jiq\" name=\"Products and prices received?\" default=\"Flow_0wmj6ux\"><bpmn2:incoming>Flow_1hazp5e</bpmn2:incoming><bpmn2:outgoing>Flow_0wmj6ux</bpmn2:outgoing><bpmn2:outgoing>Flow_1cqu3am</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_1hazp5e\" sourceRef=\"Activity_1rng89p\" targetRef=\"Gateway_1715jiq\" /><bpmn2:intermediateThrowEvent id=\"Event_1m84c1p\" name=\"Throw error if obtaining token from Magento failed\"><bpmn2:incoming>Flow_1sw1nin</bpmn2:incoming><bpmn2:signalEventDefinition /></bpmn2:intermediateThrowEvent><bpmn2:sequenceFlow id=\"Flow_1sw1nin\" name=\"no\" sourceRef=\"Gateway_08yc1ft\" targetRef=\"Event_1m84c1p\" /><bpmn2:intermediateThrowEvent id=\"Event_0zn5hus\" name=\"Throw error if getting products and prices from Magento failed\"><bpmn2:incoming>Flow_0wmj6ux</bpmn2:incoming><bpmn2:signalEventDefinition /></bpmn2:intermediateThrowEvent><bpmn2:sequenceFlow id=\"Flow_0wmj6ux\" name=\"no\" sourceRef=\"Gateway_1715jiq\" targetRef=\"Event_0zn5hus\" /><bpmn2:scriptTask id=\"Activity_1qf2uk7\" name=\"Initialize error variable\"><bpmn2:incoming>Flow_1cqu3am</bpmn2:incoming><bpmn2:outgoing>Flow_10ih2r1</bpmn2:outgoing></bpmn2:scriptTask><bpmn2:sequenceFlow id=\"Flow_1cqu3am\" name=\"yes\" sourceRef=\"Gateway_1715jiq\" targetRef=\"Activity_1qf2uk7\" /><bpmn2:subProcess id=\"Activity_0zc53iz\" name=\"For each product\"><bpmn2:incoming>Flow_15tvr4a</bpmn2:incoming><bpmn2:outgoing>Flow_150kehm</bpmn2:outgoing><bpmn2:multiInstanceLoopCharacteristics isSequential=\"true\" /><bpmn2:startEvent id=\"Event_0urulu9\"><bpmn2:outgoing>Flow_167bu6t</bpmn2:outgoing></bpmn2:startEvent><bpmn2:task id=\"Activity_1lhrg7k\" name=\"Get product information from Dynamics365\"><bpmn2:incoming>Flow_167bu6t</bpmn2:incoming><bpmn2:outgoing>Flow_14ze5wl</bpmn2:outgoing></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_167bu6t\" sourceRef=\"Event_0urulu9\" targetRef=\"Activity_1lhrg7k\" /><bpmn2:exclusiveGateway id=\"Gateway_05eucic\" name=\"Does the product already exist?\" default=\"Flow_1hjnboc\"><bpmn2:incoming>Flow_1gz7tn5</bpmn2:incoming><bpmn2:outgoing>Flow_1vzf282</bpmn2:outgoing><bpmn2:outgoing>Flow_1hjnboc</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:task id=\"Activity_1eqw2va\" name=\"Update product in Dynamics365\"><bpmn2:incoming>Flow_1vzf282</bpmn2:incoming><bpmn2:outgoing>Flow_1bs9jih</bpmn2:outgoing><bpmn2:dataOutputAssociation id=\"DataOutputAssociation_078cf8m\"><bpmn2:targetRef>DataStoreReference_12xebdk</bpmn2:targetRef></bpmn2:dataOutputAssociation></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_1vzf282\" name=\"yes\" sourceRef=\"Gateway_05eucic\" targetRef=\"Activity_1eqw2va\" /><bpmn2:task id=\"Activity_10qbuvx\" name=\"Insert product to Dynamics365\"><bpmn2:incoming>Flow_1hjnboc</bpmn2:incoming><bpmn2:outgoing>Flow_1mdru14</bpmn2:outgoing><bpmn2:dataOutputAssociation id=\"DataOutputAssociation_0p7in83\"><bpmn2:targetRef>DataStoreReference_12xebdk</bpmn2:targetRef></bpmn2:dataOutputAssociation></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_1hjnboc\" name=\"no\" sourceRef=\"Gateway_05eucic\" targetRef=\"Activity_10qbuvx\" /><bpmn2:exclusiveGateway id=\"Gateway_02liaw6\" name=\"Price list entry updated successfully?\" default=\"Flow_1ika6jr\"><bpmn2:incoming>Flow_03omn1x</bpmn2:incoming><bpmn2:outgoing>Flow_1ika6jr</bpmn2:outgoing><bpmn2:outgoing>Flow_0g8q0bv</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:exclusiveGateway id=\"Gateway_0ko8v56\" name=\"Price list entry created successfully?\" default=\"Flow_1a3jr6c\"><bpmn2:incoming>Flow_0w315rp</bpmn2:incoming><bpmn2:outgoing>Flow_1a3jr6c</bpmn2:outgoing><bpmn2:outgoing>Flow_1fa6aef</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:endEvent id=\"Event_1dmqfcd\" name=\"Add error to error variable and move to next product\"><bpmn2:incoming>Flow_1ika6jr</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_1ika6jr\" name=\"no\" sourceRef=\"Gateway_02liaw6\" targetRef=\"Event_1dmqfcd\" /><bpmn2:endEvent id=\"Event_186vory\" name=\"Add error to error variable and move to next product\"><bpmn2:incoming>Flow_1a3jr6c</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_1a3jr6c\" name=\"no\" sourceRef=\"Gateway_0ko8v56\" targetRef=\"Event_186vory\" /><bpmn2:task id=\"Activity_0sktfz9\" name=\"Get unit of measurement from Dynamics365\"><bpmn2:incoming>Flow_0x4yfpw</bpmn2:incoming><bpmn2:outgoing>Flow_11rn0r0</bpmn2:outgoing></bpmn2:task><bpmn2:exclusiveGateway id=\"Gateway_1ist9t8\" name=\"Unit of measure gotten successfully?\" default=\"Flow_05xe3wb\"><bpmn2:incoming>Flow_11rn0r0</bpmn2:incoming><bpmn2:outgoing>Flow_05xe3wb</bpmn2:outgoing><bpmn2:outgoing>Flow_0appot9</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_11rn0r0\" sourceRef=\"Activity_0sktfz9\" targetRef=\"Gateway_1ist9t8\" /><bpmn2:endEvent id=\"Event_0js29gg\" name=\"Add error to error variable and move to next product\"><bpmn2:incoming>Flow_05xe3wb</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_05xe3wb\" name=\"no\" sourceRef=\"Gateway_1ist9t8\" targetRef=\"Event_0js29gg\" /><bpmn2:exclusiveGateway id=\"Gateway_0s76pvr\" name=\"Product information gotten succesfully?\" default=\"Flow_132f5uc\"><bpmn2:incoming>Flow_14ze5wl</bpmn2:incoming><bpmn2:outgoing>Flow_0x4yfpw</bpmn2:outgoing><bpmn2:outgoing>Flow_132f5uc</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_14ze5wl\" sourceRef=\"Activity_1lhrg7k\" targetRef=\"Gateway_0s76pvr\" /><bpmn2:sequenceFlow id=\"Flow_0x4yfpw\" name=\"yes\" sourceRef=\"Gateway_0s76pvr\" targetRef=\"Activity_0sktfz9\" /><bpmn2:endEvent id=\"Event_0eyztbb\" name=\"Add error to error variable and move to next product\"><bpmn2:incoming>Flow_132f5uc</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_132f5uc\" name=\"no\" sourceRef=\"Gateway_0s76pvr\" targetRef=\"Event_0eyztbb\" /><bpmn2:task id=\"Activity_1sohz9w\" name=\"Get price list information from Dynamics365\"><bpmn2:incoming>Flow_0appot9</bpmn2:incoming><bpmn2:outgoing>Flow_0lpzah8</bpmn2:outgoing></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_0appot9\" name=\"yes\" sourceRef=\"Gateway_1ist9t8\" targetRef=\"Activity_1sohz9w\" /><bpmn2:exclusiveGateway id=\"Gateway_0w6y53j\" name=\"Price list information gotten successfully?\" default=\"Flow_0o9j3v4\"><bpmn2:incoming>Flow_0lpzah8</bpmn2:incoming><bpmn2:outgoing>Flow_1gz7tn5</bpmn2:outgoing><bpmn2:outgoing>Flow_0o9j3v4</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_0lpzah8\" sourceRef=\"Activity_1sohz9w\" targetRef=\"Gateway_0w6y53j\" /><bpmn2:sequenceFlow id=\"Flow_1gz7tn5\" name=\"yes\" sourceRef=\"Gateway_0w6y53j\" targetRef=\"Gateway_05eucic\" /><bpmn2:endEvent id=\"Event_14csk0o\" name=\"Add error to error variable and move to next product\"><bpmn2:incoming>Flow_0o9j3v4</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_0o9j3v4\" name=\"no\" sourceRef=\"Gateway_0w6y53j\" targetRef=\"Event_14csk0o\" /><bpmn2:task id=\"Activity_0snpv40\" name=\"Insert product into price list\"><bpmn2:incoming>Flow_1wjd7ju</bpmn2:incoming><bpmn2:outgoing>Flow_0w315rp</bpmn2:outgoing><bpmn2:dataOutputAssociation id=\"DataOutputAssociation_19k3m7p\"><bpmn2:targetRef>DataStoreReference_0xqjq81</bpmn2:targetRef></bpmn2:dataOutputAssociation></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_0w315rp\" sourceRef=\"Activity_0snpv40\" targetRef=\"Gateway_0ko8v56\" /><bpmn2:task id=\"Activity_0x7qybu\" name=\"Get Dynamics365 ID of inserted product\"><bpmn2:incoming>Flow_1nerp1k</bpmn2:incoming><bpmn2:outgoing>Flow_0620eng</bpmn2:outgoing></bpmn2:task><bpmn2:task id=\"Activity_17ae1xw\" name=\"Update product price list entry\"><bpmn2:incoming>Flow_16zhis8</bpmn2:incoming><bpmn2:outgoing>Flow_03omn1x</bpmn2:outgoing><bpmn2:dataOutputAssociation id=\"DataOutputAssociation_1qwo9s5\"><bpmn2:targetRef>DataStoreReference_0xqjq81</bpmn2:targetRef></bpmn2:dataOutputAssociation></bpmn2:task><bpmn2:sequenceFlow id=\"Flow_03omn1x\" sourceRef=\"Activity_17ae1xw\" targetRef=\"Gateway_02liaw6\" /><bpmn2:dataStoreReference id=\"DataStoreReference_12xebdk\" name=\"Dynamics365\" /><bpmn2:dataStoreReference id=\"DataStoreReference_0xqjq81\" name=\"Dynamics365\" /><bpmn2:task id=\"Activity_1sfk34j\" name=\"Get price list entry ID of the product\"><bpmn2:incoming>Flow_1tjozeo</bpmn2:incoming><bpmn2:outgoing>Flow_06qk45c</bpmn2:outgoing></bpmn2:task><bpmn2:endEvent id=\"Event_068k1yx\" name=\"Move to next product\"><bpmn2:incoming>Flow_0g8q0bv</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_0g8q0bv\" name=\"yes\" sourceRef=\"Gateway_02liaw6\" targetRef=\"Event_068k1yx\" /><bpmn2:endEvent id=\"Event_0kzkj1k\" name=\"Move to next product\"><bpmn2:incoming>Flow_1fa6aef</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_1fa6aef\" name=\"yes\" sourceRef=\"Gateway_0ko8v56\" targetRef=\"Event_0kzkj1k\" /><bpmn2:exclusiveGateway id=\"Gateway_1ho2mte\" name=\"Product updated successfully?\" default=\"Flow_0jlkehn\"><bpmn2:incoming>Flow_1bs9jih</bpmn2:incoming><bpmn2:outgoing>Flow_1tjozeo</bpmn2:outgoing><bpmn2:outgoing>Flow_0jlkehn</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_1bs9jih\" sourceRef=\"Activity_1eqw2va\" targetRef=\"Gateway_1ho2mte\" /><bpmn2:sequenceFlow id=\"Flow_1tjozeo\" name=\"yes\" sourceRef=\"Gateway_1ho2mte\" targetRef=\"Activity_1sfk34j\" /><bpmn2:exclusiveGateway id=\"Gateway_1xo4b6p\" name=\"Price list entry ID gotten successfully?\" default=\"Flow_0bnx2zq\"><bpmn2:incoming>Flow_06qk45c</bpmn2:incoming><bpmn2:outgoing>Flow_16zhis8</bpmn2:outgoing><bpmn2:outgoing>Flow_0bnx2zq</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_06qk45c\" sourceRef=\"Activity_1sfk34j\" targetRef=\"Gateway_1xo4b6p\" /><bpmn2:sequenceFlow id=\"Flow_16zhis8\" name=\"yes\" sourceRef=\"Gateway_1xo4b6p\" targetRef=\"Activity_17ae1xw\" /><bpmn2:endEvent id=\"Event_05d54ac\" name=\"Add error to error variable and move to next product\"><bpmn2:incoming>Flow_0jlkehn</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_0jlkehn\" name=\"no\" sourceRef=\"Gateway_1ho2mte\" targetRef=\"Event_05d54ac\" /><bpmn2:endEvent id=\"Event_1bj9jgv\" name=\"Add error to error variable and move to next product\"><bpmn2:incoming>Flow_0bnx2zq</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_0bnx2zq\" name=\"no\" sourceRef=\"Gateway_1xo4b6p\" targetRef=\"Event_1bj9jgv\" /><bpmn2:exclusiveGateway id=\"Gateway_1glqp7q\" name=\"Product inserted successfully?\" default=\"Flow_00al0ho\"><bpmn2:incoming>Flow_1mdru14</bpmn2:incoming><bpmn2:outgoing>Flow_1nerp1k</bpmn2:outgoing><bpmn2:outgoing>Flow_00al0ho</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_1mdru14\" sourceRef=\"Activity_10qbuvx\" targetRef=\"Gateway_1glqp7q\" /><bpmn2:sequenceFlow id=\"Flow_1nerp1k\" name=\"yes\" sourceRef=\"Gateway_1glqp7q\" targetRef=\"Activity_0x7qybu\" /><bpmn2:exclusiveGateway id=\"Gateway_09j5a1l\" name=\"Product ID gotten succesfully?\" default=\"Flow_1ku1abo\"><bpmn2:incoming>Flow_0620eng</bpmn2:incoming><bpmn2:outgoing>Flow_1wjd7ju</bpmn2:outgoing><bpmn2:outgoing>Flow_1ku1abo</bpmn2:outgoing></bpmn2:exclusiveGateway><bpmn2:sequenceFlow id=\"Flow_0620eng\" sourceRef=\"Activity_0x7qybu\" targetRef=\"Gateway_09j5a1l\" /><bpmn2:sequenceFlow id=\"Flow_1wjd7ju\" name=\"yes\" sourceRef=\"Gateway_09j5a1l\" targetRef=\"Activity_0snpv40\" /><bpmn2:endEvent id=\"Event_1e8uwv4\" name=\"Add error to error variable and move to next product\"><bpmn2:incoming>Flow_1ku1abo</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_1ku1abo\" name=\"no\" sourceRef=\"Gateway_09j5a1l\" targetRef=\"Event_1e8uwv4\" /><bpmn2:endEvent id=\"Event_07ijnw9\" name=\"Add error to error variable and move to next product\"><bpmn2:incoming>Flow_00al0ho</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_00al0ho\" name=\"no\" sourceRef=\"Gateway_1glqp7q\" targetRef=\"Event_07ijnw9\" /><bpmn2:textAnnotation id=\"TextAnnotation_0joukfu\"><bpmn2:text>The inserted products need to have a unit of measurement.</bpmn2:text></bpmn2:textAnnotation><bpmn2:association id=\"Association_122chq4\" sourceRef=\"Activity_0sktfz9\" targetRef=\"TextAnnotation_0joukfu\" /><bpmn2:textAnnotation id=\"TextAnnotation_1lb5x3e\"><bpmn2:text>If the product already exists, its information will be updated. Otherwise, a new product will be inserted.</bpmn2:text></bpmn2:textAnnotation><bpmn2:association id=\"Association_17ent7a\" sourceRef=\"Activity_1lhrg7k\" targetRef=\"TextAnnotation_1lb5x3e\" /><bpmn2:textAnnotation id=\"TextAnnotation_0k5kmgz\"><bpmn2:text>The inserted products must also be inserted into a price list.</bpmn2:text></bpmn2:textAnnotation><bpmn2:association id=\"Association_01gw5q3\" sourceRef=\"Activity_1sohz9w\" targetRef=\"TextAnnotation_0k5kmgz\" /><bpmn2:textAnnotation id=\"TextAnnotation_1ifw8m6\"><bpmn2:text>The price list entry ID is needed to update the entry.</bpmn2:text></bpmn2:textAnnotation><bpmn2:association id=\"Association_18417ir\" sourceRef=\"Activity_1sfk34j\" targetRef=\"TextAnnotation_1ifw8m6\" /><bpmn2:textAnnotation id=\"TextAnnotation_1nzkl5p\"><bpmn2:text>The ID of the inserted product is needed to create a price list entry for it.</bpmn2:text></bpmn2:textAnnotation><bpmn2:association id=\"Association_13xmf94\" sourceRef=\"Activity_0x7qybu\" targetRef=\"TextAnnotation_1nzkl5p\" /></bpmn2:subProcess><bpmn2:endEvent id=\"Event_03ck676\" name=\"Process complete, return insert/update counts and possible error messages\"><bpmn2:incoming>Flow_150kehm</bpmn2:incoming></bpmn2:endEvent><bpmn2:sequenceFlow id=\"Flow_150kehm\" sourceRef=\"Activity_0zc53iz\" targetRef=\"Event_03ck676\" /><bpmn2:scriptTask id=\"Activity_0i10dcy\" name=\"Initialize update count\"><bpmn2:incoming>Flow_10ih2r1</bpmn2:incoming><bpmn2:outgoing>Flow_1p6wukw</bpmn2:outgoing></bpmn2:scriptTask><bpmn2:sequenceFlow id=\"Flow_10ih2r1\" sourceRef=\"Activity_1qf2uk7\" targetRef=\"Activity_0i10dcy\" /><bpmn2:scriptTask id=\"Activity_0y9swvj\" name=\"Initialize insert count\"><bpmn2:incoming>Flow_1p6wukw</bpmn2:incoming><bpmn2:outgoing>Flow_15tvr4a</bpmn2:outgoing></bpmn2:scriptTask><bpmn2:sequenceFlow id=\"Flow_1p6wukw\" sourceRef=\"Activity_0i10dcy\" targetRef=\"Activity_0y9swvj\" /><bpmn2:sequenceFlow id=\"Flow_15tvr4a\" sourceRef=\"Activity_0y9swvj\" targetRef=\"Activity_0zc53iz\" /><bpmn2:dataStoreReference id=\"DataStoreReference_1os5a3s\" name=\"Magento\" /><bpmn2:textAnnotation id=\"TextAnnotation_16j1gwj\"><bpmn2:text>The schedule on which the process is run can be configured in the trigger.</bpmn2:text></bpmn2:textAnnotation><bpmn2:association id=\"Association_1msivm9\" sourceRef=\"StartEvent_1\" targetRef=\"TextAnnotation_16j1gwj\" /><bpmn2:group id=\"Group_07wwnaf\" categoryValueRef=\"CategoryValue_1wnsgb3\" /><bpmn2:group id=\"Group_1ut83bn\" categoryValueRef=\"CategoryValue_0paqibx\" /><bpmn2:group id=\"Group_09ryhsh\" categoryValueRef=\"CategoryValue_11lsuur\" /><bpmn2:textAnnotation id=\"TextAnnotation_0hjcefg\"><bpmn2:text>Variables are initialized for insert/update counts and possible errors.</bpmn2:text></bpmn2:textAnnotation><bpmn2:association id=\"Association_10s3c87\" sourceRef=\"Activity_0i10dcy\" targetRef=\"TextAnnotation_0hjcefg\" /><bpmn2:association id=\"Association_1wcurie\" sourceRef=\"Activity_1qf2uk7\" targetRef=\"TextAnnotation_0hjcefg\" /><bpmn2:association id=\"Association_0upnsbf\" sourceRef=\"Activity_0y9swvj\" targetRef=\"TextAnnotation_0hjcefg\" /></bpmn2:process><bpmn2:category id=\"Category_0ifzsva\"><bpmn2:categoryValue id=\"CategoryValue_1wnsgb3\" value=\"Get product and price data from Magento\" /></bpmn2:category><bpmn2:category id=\"Category_0s4v2dm\"><bpmn2:categoryValue id=\"CategoryValue_0paqibx\" value=\"Get required information from Dynamics365\" /></bpmn2:category><bpmn2:category id=\"Category_064ejmp\"><bpmn2:categoryValue id=\"CategoryValue_11lsuur\" value=\"Insert or update product and price into Dynamics365\" /></bpmn2:category><bpmndi:BPMNDiagram id=\"BPMNDiagram_1\"><bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"Process_1\"><bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\"><dc:Bounds x=\"412\" y=\"240\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"407\" y=\"276\" width=\"47\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_06cd32o_di\" bpmnElement=\"Activity_06cd32o\"><dc:Bounds x=\"510\" y=\"218\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_08yc1ft_di\" bpmnElement=\"Gateway_08yc1ft\" isMarkerVisible=\"true\"><dc:Bounds x=\"675\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"661\" y=\"203\" width=\"79\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_1rng89p_di\" bpmnElement=\"Activity_1rng89p\"><dc:Bounds x=\"790\" y=\"218\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_1715jiq_di\" bpmnElement=\"Gateway_1715jiq\" isMarkerVisible=\"true\"><dc:Bounds x=\"955\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"939\" y=\"196\" width=\"81\" height=\"27\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_1m84c1p_di\" bpmnElement=\"Event_1m84c1p\"><dc:Bounds x=\"682\" y=\"362\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"663\" y=\"405\" width=\"75\" height=\"53\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_0zn5hus_di\" bpmnElement=\"Event_0zn5hus\"><dc:Bounds x=\"962\" y=\"362\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"941\" y=\"405\" width=\"79\" height=\"53\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_1qf2uk7_di\" bpmnElement=\"Activity_1qf2uk7\"><dc:Bounds x=\"1095\" y=\"243\" width=\"30\" height=\"30\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_03ck676_di\" bpmnElement=\"Event_03ck676\"><dc:Bounds x=\"4052\" y=\"240\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"4030\" y=\"140\" width=\"80\" height=\"80\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_0zc53iz_di\" bpmnElement=\"Activity_0zc53iz\" isExpanded=\"true\"><dc:Bounds x=\"1460\" y=\"-90\" width=\"2460\" height=\"700\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"TextAnnotation_1ifw8m6_di\" bpmnElement=\"TextAnnotation_1ifw8m6\"><dc:Bounds x=\"3090\" y=\"-60\" width=\"100\" height=\"70\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"TextAnnotation_1nzkl5p_di\" bpmnElement=\"TextAnnotation_1nzkl5p\"><dc:Bounds x=\"3090\" y=\"240\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_0urulu9_di\" bpmnElement=\"Event_0urulu9\"><dc:Bounds x=\"1500\" y=\"240\" width=\"36\" height=\"36\" /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_1lhrg7k_di\" bpmnElement=\"Activity_1lhrg7k\"><dc:Bounds x=\"1590\" y=\"218\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_05eucic_di\" bpmnElement=\"Gateway_05eucic\" isMarkerVisible=\"true\"><dc:Bounds x=\"2595\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2656\" y=\"244\" width=\"85\" height=\"27\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_1eqw2va_di\" bpmnElement=\"Activity_1eqw2va\"><dc:Bounds x=\"2750\" y=\"63\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_10qbuvx_di\" bpmnElement=\"Activity_10qbuvx\"><dc:Bounds x=\"2750\" y=\"370\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_02liaw6_di\" bpmnElement=\"Gateway_02liaw6\" isMarkerVisible=\"true\"><dc:Bounds x=\"3655\" y=\"78\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3646\" y=\"33\" width=\"70\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_0ko8v56_di\" bpmnElement=\"Gateway_0ko8v56\" isMarkerVisible=\"true\"><dc:Bounds x=\"3655\" y=\"385\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3645\" y=\"342\" width=\"70\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_1dmqfcd_di\" bpmnElement=\"Event_1dmqfcd\"><dc:Bounds x=\"3662\" y=\"212\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3635\" y=\"255\" width=\"90\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_186vory_di\" bpmnElement=\"Event_186vory\"><dc:Bounds x=\"3662\" y=\"502\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3635\" y=\"545\" width=\"90\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_0sktfz9_di\" bpmnElement=\"Activity_0sktfz9\"><dc:Bounds x=\"1890\" y=\"218\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_1ist9t8_di\" bpmnElement=\"Gateway_1ist9t8\" isMarkerVisible=\"true\"><dc:Bounds x=\"2085\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2071\" y=\"180\" width=\"79\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_0js29gg_di\" bpmnElement=\"Event_0js29gg\"><dc:Bounds x=\"2092\" y=\"372\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2065\" y=\"415\" width=\"90\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_0s76pvr_di\" bpmnElement=\"Gateway_0s76pvr\" isMarkerVisible=\"true\"><dc:Bounds x=\"1755\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1736\" y=\"180\" width=\"89\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_0eyztbb_di\" bpmnElement=\"Event_0eyztbb\"><dc:Bounds x=\"1762\" y=\"372\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1735\" y=\"415\" width=\"90\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_1sohz9w_di\" bpmnElement=\"Activity_1sohz9w\"><dc:Bounds x=\"2230\" y=\"218\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_0w6y53j_di\" bpmnElement=\"Gateway_0w6y53j\" isMarkerVisible=\"true\"><dc:Bounds x=\"2425\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2406\" y=\"180\" width=\"89\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_14csk0o_di\" bpmnElement=\"Event_14csk0o\"><dc:Bounds x=\"2432\" y=\"372\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2405\" y=\"415\" width=\"90\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_0snpv40_di\" bpmnElement=\"Activity_0snpv40\"><dc:Bounds x=\"3440\" y=\"370\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_0x7qybu_di\" bpmnElement=\"Activity_0x7qybu\"><dc:Bounds x=\"3090\" y=\"370\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_17ae1xw_di\" bpmnElement=\"Activity_17ae1xw\"><dc:Bounds x=\"3440\" y=\"63\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"DataStoreReference_12xebdk_di\" bpmnElement=\"DataStoreReference_12xebdk\"><dc:Bounds x=\"2775\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2836\" y=\"251\" width=\"68\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"DataStoreReference_0xqjq81_di\" bpmnElement=\"DataStoreReference_0xqjq81\"><dc:Bounds x=\"3465\" y=\"233\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3527\" y=\"251\" width=\"67\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_1sfk34j_di\" bpmnElement=\"Activity_1sfk34j\"><dc:Bounds x=\"3090\" y=\"63\" width=\"100\" height=\"80\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_068k1yx_di\" bpmnElement=\"Event_068k1yx\"><dc:Bounds x=\"3822\" y=\"85\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3808\" y=\"46\" width=\"64\" height=\"27\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_0kzkj1k_di\" bpmnElement=\"Event_0kzkj1k\"><dc:Bounds x=\"3822\" y=\"392\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3808\" y=\"356\" width=\"64\" height=\"27\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_1ho2mte_di\" bpmnElement=\"Gateway_1ho2mte\" isMarkerVisible=\"true\"><dc:Bounds x=\"2945\" y=\"78\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2930\" y=\"39\" width=\"81\" height=\"27\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_1xo4b6p_di\" bpmnElement=\"Gateway_1xo4b6p\" isMarkerVisible=\"true\"><dc:Bounds x=\"3285\" y=\"78\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3268\" y=\"33\" width=\"84\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_05d54ac_di\" bpmnElement=\"Event_05d54ac\"><dc:Bounds x=\"2952\" y=\"212\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2925\" y=\"255\" width=\"90\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_1bj9jgv_di\" bpmnElement=\"Event_1bj9jgv\"><dc:Bounds x=\"3292\" y=\"212\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3265\" y=\"255\" width=\"90\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_1glqp7q_di\" bpmnElement=\"Gateway_1glqp7q\" isMarkerVisible=\"true\"><dc:Bounds x=\"2945\" y=\"385\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2930\" y=\"348\" width=\"81\" height=\"27\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Gateway_09j5a1l_di\" bpmnElement=\"Gateway_09j5a1l\" isMarkerVisible=\"true\"><dc:Bounds x=\"3285\" y=\"385\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3267\" y=\"348\" width=\"86\" height=\"27\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_1e8uwv4_di\" bpmnElement=\"Event_1e8uwv4\"><dc:Bounds x=\"3292\" y=\"502\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3265\" y=\"545\" width=\"90\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Event_07ijnw9_di\" bpmnElement=\"Event_07ijnw9\"><dc:Bounds x=\"2952\" y=\"502\" width=\"36\" height=\"36\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2925\" y=\"545\" width=\"90\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"TextAnnotation_0joukfu_di\" bpmnElement=\"TextAnnotation_0joukfu\"><dc:Bounds x=\"1890\" y=\"68\" width=\"110\" height=\"69\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"TextAnnotation_1lb5x3e_di\" bpmnElement=\"TextAnnotation_1lb5x3e\"><dc:Bounds x=\"1570\" y=\"60\" width=\"140\" height=\"85\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"TextAnnotation_0k5kmgz_di\" bpmnElement=\"TextAnnotation_0k5kmgz\"><dc:Bounds x=\"2220\" y=\"68\" width=\"120\" height=\"70\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"Association_18417ir_di\" bpmnElement=\"Association_18417ir\"><di:waypoint x=\"3140\" y=\"63\" /><di:waypoint x=\"3140\" y=\"10\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Association_13xmf94_di\" bpmnElement=\"Association_13xmf94\"><di:waypoint x=\"3140\" y=\"370\" /><di:waypoint x=\"3140\" y=\"320\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_167bu6t_di\" bpmnElement=\"Flow_167bu6t\"><di:waypoint x=\"1536\" y=\"258\" /><di:waypoint x=\"1590\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1vzf282_di\" bpmnElement=\"Flow_1vzf282\"><di:waypoint x=\"2620\" y=\"233\" /><di:waypoint x=\"2620\" y=\"103\" /><di:waypoint x=\"2750\" y=\"103\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2678\" y=\"85\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1hjnboc_di\" bpmnElement=\"Flow_1hjnboc\"><di:waypoint x=\"2620\" y=\"283\" /><di:waypoint x=\"2620\" y=\"410\" /><di:waypoint x=\"2750\" y=\"410\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2679\" y=\"392\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1ika6jr_di\" bpmnElement=\"Flow_1ika6jr\"><di:waypoint x=\"3680\" y=\"128\" /><di:waypoint x=\"3680\" y=\"212\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3685\" y=\"164\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1a3jr6c_di\" bpmnElement=\"Flow_1a3jr6c\"><di:waypoint x=\"3680\" y=\"435\" /><di:waypoint x=\"3680\" y=\"502\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3689\" y=\"465\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_11rn0r0_di\" bpmnElement=\"Flow_11rn0r0\"><di:waypoint x=\"1990\" y=\"258\" /><di:waypoint x=\"2085\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_05xe3wb_di\" bpmnElement=\"Flow_05xe3wb\"><di:waypoint x=\"2110\" y=\"283\" /><di:waypoint x=\"2110\" y=\"372\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2119\" y=\"325\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_14ze5wl_di\" bpmnElement=\"Flow_14ze5wl\"><di:waypoint x=\"1690\" y=\"258\" /><di:waypoint x=\"1755\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0x4yfpw_di\" bpmnElement=\"Flow_0x4yfpw\"><di:waypoint x=\"1805\" y=\"258\" /><di:waypoint x=\"1890\" y=\"258\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1836\" y=\"240\" width=\"16\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_132f5uc_di\" bpmnElement=\"Flow_132f5uc\"><di:waypoint x=\"1780\" y=\"283\" /><di:waypoint x=\"1780\" y=\"372\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1789\" y=\"325\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0appot9_di\" bpmnElement=\"Flow_0appot9\"><di:waypoint x=\"2135\" y=\"258\" /><di:waypoint x=\"2230\" y=\"258\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2175\" y=\"240\" width=\"16\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0lpzah8_di\" bpmnElement=\"Flow_0lpzah8\"><di:waypoint x=\"2330\" y=\"258\" /><di:waypoint x=\"2425\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1gz7tn5_di\" bpmnElement=\"Flow_1gz7tn5\"><di:waypoint x=\"2475\" y=\"258\" /><di:waypoint x=\"2595\" y=\"258\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2512\" y=\"240\" width=\"16\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0o9j3v4_di\" bpmnElement=\"Flow_0o9j3v4\"><di:waypoint x=\"2450\" y=\"283\" /><di:waypoint x=\"2450\" y=\"372\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2463\" y=\"320\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0w315rp_di\" bpmnElement=\"Flow_0w315rp\"><di:waypoint x=\"3540\" y=\"410\" /><di:waypoint x=\"3655\" y=\"410\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_03omn1x_di\" bpmnElement=\"Flow_03omn1x\"><di:waypoint x=\"3540\" y=\"103\" /><di:waypoint x=\"3655\" y=\"103\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0g8q0bv_di\" bpmnElement=\"Flow_0g8q0bv\"><di:waypoint x=\"3705\" y=\"103\" /><di:waypoint x=\"3822\" y=\"103\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3755\" y=\"85\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1fa6aef_di\" bpmnElement=\"Flow_1fa6aef\"><di:waypoint x=\"3705\" y=\"410\" /><di:waypoint x=\"3822\" y=\"410\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3755\" y=\"392\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1bs9jih_di\" bpmnElement=\"Flow_1bs9jih\"><di:waypoint x=\"2850\" y=\"103\" /><di:waypoint x=\"2945\" y=\"103\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1tjozeo_di\" bpmnElement=\"Flow_1tjozeo\"><di:waypoint x=\"2995\" y=\"103\" /><di:waypoint x=\"3090\" y=\"103\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3035\" y=\"85\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_06qk45c_di\" bpmnElement=\"Flow_06qk45c\"><di:waypoint x=\"3190\" y=\"103\" /><di:waypoint x=\"3285\" y=\"103\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_16zhis8_di\" bpmnElement=\"Flow_16zhis8\"><di:waypoint x=\"3335\" y=\"103\" /><di:waypoint x=\"3440\" y=\"103\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3379\" y=\"85\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0jlkehn_di\" bpmnElement=\"Flow_0jlkehn\"><di:waypoint x=\"2970\" y=\"128\" /><di:waypoint x=\"2970\" y=\"212\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2979\" y=\"167\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0bnx2zq_di\" bpmnElement=\"Flow_0bnx2zq\"><di:waypoint x=\"3310\" y=\"128\" /><di:waypoint x=\"3310\" y=\"212\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3319\" y=\"167\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1mdru14_di\" bpmnElement=\"Flow_1mdru14\"><di:waypoint x=\"2850\" y=\"410\" /><di:waypoint x=\"2945\" y=\"410\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1nerp1k_di\" bpmnElement=\"Flow_1nerp1k\"><di:waypoint x=\"2995\" y=\"410\" /><di:waypoint x=\"3090\" y=\"410\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3035\" y=\"392\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0620eng_di\" bpmnElement=\"Flow_0620eng\"><di:waypoint x=\"3190\" y=\"410\" /><di:waypoint x=\"3285\" y=\"410\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1wjd7ju_di\" bpmnElement=\"Flow_1wjd7ju\"><di:waypoint x=\"3335\" y=\"410\" /><di:waypoint x=\"3440\" y=\"410\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3379\" y=\"392\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1ku1abo_di\" bpmnElement=\"Flow_1ku1abo\"><di:waypoint x=\"3310\" y=\"435\" /><di:waypoint x=\"3310\" y=\"502\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3319\" y=\"465\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_00al0ho_di\" bpmnElement=\"Flow_00al0ho\"><di:waypoint x=\"2970\" y=\"435\" /><di:waypoint x=\"2970\" y=\"502\" /><bpmndi:BPMNLabel><dc:Bounds x=\"2969\" y=\"465\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Association_122chq4_di\" bpmnElement=\"Association_122chq4\"><di:waypoint x=\"1940\" y=\"218\" /><di:waypoint x=\"1940\" y=\"137\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Association_17ent7a_di\" bpmnElement=\"Association_17ent7a\"><di:waypoint x=\"1640\" y=\"218\" /><di:waypoint x=\"1640\" y=\"145\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Association_01gw5q3_di\" bpmnElement=\"Association_01gw5q3\"><di:waypoint x=\"2280\" y=\"218\" /><di:waypoint x=\"2280\" y=\"138\" /></bpmndi:BPMNEdge><bpmndi:BPMNShape id=\"Activity_0i10dcy_di\" bpmnElement=\"Activity_0i10dcy\"><dc:Bounds x=\"1215\" y=\"243\" width=\"30\" height=\"30\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Activity_0y9swvj_di\" bpmnElement=\"Activity_0y9swvj\"><dc:Bounds x=\"1335\" y=\"243\" width=\"30\" height=\"30\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"DataStoreReference_1os5a3s_di\" bpmnElement=\"DataStoreReference_1os5a3s\"><dc:Bounds x=\"815\" y=\"85\" width=\"50\" height=\"50\" /><bpmndi:BPMNLabel><dc:Bounds x=\"818\" y=\"63\" width=\"44\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"TextAnnotation_16j1gwj_di\" bpmnElement=\"TextAnnotation_16j1gwj\"><dc:Bounds x=\"230\" y=\"213\" width=\"120\" height=\"89\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Group_07wwnaf_di\" bpmnElement=\"Group_07wwnaf\"><dc:Bounds x=\"470\" y=\"-50\" width=\"590\" height=\"640\" /><bpmndi:BPMNLabel><dc:Bounds x=\"725\" y=\"-43\" width=\"80\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Group_1ut83bn_di\" bpmnElement=\"Group_1ut83bn\"><dc:Bounds x=\"1430\" y=\"-160\" width=\"1070\" height=\"810\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1925\" y=\"-153\" width=\"80\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"Group_09ryhsh_di\" bpmnElement=\"Group_09ryhsh\"><dc:Bounds x=\"2540\" y=\"-160\" width=\"1410\" height=\"810\" /><bpmndi:BPMNLabel><dc:Bounds x=\"3201\" y=\"-153\" width=\"88\" height=\"40\" /></bpmndi:BPMNLabel></bpmndi:BPMNShape><bpmndi:BPMNShape id=\"TextAnnotation_0hjcefg_di\" bpmnElement=\"TextAnnotation_0hjcefg\"><dc:Bounds x=\"1180\" y=\"90\" width=\"100.0000039394464\" height=\"84.33735596333437\" /><bpmndi:BPMNLabel /></bpmndi:BPMNShape><bpmndi:BPMNEdge id=\"Flow_0mrxri9_di\" bpmnElement=\"Flow_0mrxri9\"><di:waypoint x=\"448\" y=\"258\" /><di:waypoint x=\"510\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_16u2qy6_di\" bpmnElement=\"Flow_16u2qy6\"><di:waypoint x=\"610\" y=\"258\" /><di:waypoint x=\"675\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"DataInputAssociation_13b9987_di\" bpmnElement=\"DataInputAssociation_13b9987\"><di:waypoint x=\"840\" y=\"135\" /><di:waypoint x=\"840\" y=\"218\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0pejhp8_di\" bpmnElement=\"Flow_0pejhp8\"><di:waypoint x=\"725\" y=\"258\" /><di:waypoint x=\"790\" y=\"258\" /><bpmndi:BPMNLabel><dc:Bounds x=\"749\" y=\"240\" width=\"17\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1hazp5e_di\" bpmnElement=\"Flow_1hazp5e\"><di:waypoint x=\"890\" y=\"258\" /><di:waypoint x=\"955\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1sw1nin_di\" bpmnElement=\"Flow_1sw1nin\"><di:waypoint x=\"700\" y=\"283\" /><di:waypoint x=\"700\" y=\"362\" /><bpmndi:BPMNLabel><dc:Bounds x=\"709\" y=\"320\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_0wmj6ux_di\" bpmnElement=\"Flow_0wmj6ux\"><di:waypoint x=\"980\" y=\"283\" /><di:waypoint x=\"980\" y=\"362\" /><bpmndi:BPMNLabel><dc:Bounds x=\"989\" y=\"320\" width=\"13\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1cqu3am_di\" bpmnElement=\"Flow_1cqu3am\"><di:waypoint x=\"1005\" y=\"258\" /><di:waypoint x=\"1095\" y=\"258\" /><bpmndi:BPMNLabel><dc:Bounds x=\"1022\" y=\"240\" width=\"16\" height=\"14\" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"DataOutputAssociation_078cf8m_di\" bpmnElement=\"DataOutputAssociation_078cf8m\"><di:waypoint x=\"2800\" y=\"143\" /><di:waypoint x=\"2800\" y=\"233\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"DataOutputAssociation_0p7in83_di\" bpmnElement=\"DataOutputAssociation_0p7in83\"><di:waypoint x=\"2800\" y=\"370\" /><di:waypoint x=\"2800\" y=\"283\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"DataOutputAssociation_19k3m7p_di\" bpmnElement=\"DataOutputAssociation_19k3m7p\"><di:waypoint x=\"3490\" y=\"370\" /><di:waypoint x=\"3490\" y=\"283\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"DataOutputAssociation_1qwo9s5_di\" bpmnElement=\"DataOutputAssociation_1qwo9s5\"><di:waypoint x=\"3490\" y=\"143\" /><di:waypoint x=\"3490\" y=\"233\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_150kehm_di\" bpmnElement=\"Flow_150kehm\"><di:waypoint x=\"3920\" y=\"258\" /><di:waypoint x=\"4052\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_10ih2r1_di\" bpmnElement=\"Flow_10ih2r1\"><di:waypoint x=\"1125\" y=\"258\" /><di:waypoint x=\"1215\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_1p6wukw_di\" bpmnElement=\"Flow_1p6wukw\"><di:waypoint x=\"1245\" y=\"258\" /><di:waypoint x=\"1335\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Flow_15tvr4a_di\" bpmnElement=\"Flow_15tvr4a\"><di:waypoint x=\"1365\" y=\"258\" /><di:waypoint x=\"1460\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Association_1msivm9_di\" bpmnElement=\"Association_1msivm9\"><di:waypoint x=\"412\" y=\"258\" /><di:waypoint x=\"350\" y=\"258\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Association_10s3c87_di\" bpmnElement=\"Association_10s3c87\"><di:waypoint x=\"1230\" y=\"243\" /><di:waypoint x=\"1230\" y=\"174\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Association_1wcurie_di\" bpmnElement=\"Association_1wcurie\"><di:waypoint x=\"1122\" y=\"247\" /><di:waypoint x=\"1199\" y=\"174\" /></bpmndi:BPMNEdge><bpmndi:BPMNEdge id=\"Association_0upnsbf_di\" bpmnElement=\"Association_0upnsbf\"><di:waypoint x=\"1338\" y=\"247\" /><di:waypoint x=\"1261\" y=\"174\" /></bpmndi:BPMNEdge></bpmndi:BPMNPlane></bpmndi:BPMNDiagram></bpmn2:definitions>",
					"ElementParameters": "[{\"Id\":\"StartEvent_1\",\"Type\":0,\"Parameters\":{\"startTimeMinute\":\"00\",\"startTimeHour\":\"00\",\"endTimeMinute\":\"00\",\"endTimeHour\":\"00\",\"endTime\":\"00:00\",\"startTime\":\"00:00\",\"recurring\":true,\"repeatDelay\":12,\"repeatDelaySeconds\":43200,\"limitToOneConcurrentExecution\":true,\"cycleRecurEvery\":1,\"cycleType\":\"Daily\",\"cycleLength\":1,\"seasonStartDate\":\"2024-06-27\",\"seasonEndDate\":null,\"cycleDaysOfWeek\":\"None\",\"cycleMonths\":\"None\",\"cycleDaysString\":\"\",\"cycleDayRanks\":\"None\",\"monthlyCycleType\":\"OnDays\",\"repeatDelayType\":3600,\"timeZone\":\"FLE Standard Time\"},\"SelectedTypeId\":\"ScheduleTrigger\",\"PromoteResultAs\":null,\"Name\":\"Schedule\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_06cd32o\",\"Type\":1,\"Parameters\":{\"input\":{\"Method\":{\"mode\":\"select\",\"value\":\"POST\"},\"ResultMethod\":{\"mode\":\"select\",\"value\":\"JToken\"},\"Url\":{\"mode\":\"text\",\"value\":\"{{#var.MagentoBaseUrl}}/index.php/rest/V1/integration/admin/token\"},\"Message\":{\"mode\":\"text\",\"value\":\"{\\r\\n    \\\"username\\\": {{\\\"\\\\\\\"\\\" + #var.MagentoUser + \\\"\\\\\\\"\\\"}},\\r\\n    \\\"password\\\": {{\\\"\\\\\\\"\\\" + #var.MagentoPassword.Replace(\\\"\\\\\\\"\\\", \\\"\\\\\\\\\\\\\\\"\\\") + \\\"\\\\\\\"\\\"}}\\r\\n}\"},\"Headers\":[{\"Name\":{\"mode\":\"text\",\"value\":\"Content-Type\"},\"Value\":{\"mode\":\"text\",\"value\":\"application/json\"}}]},\"options\":{\"Authentication\":{\"mode\":\"select\",\"value\":\"None\"},\"Username\":{\"mode\":\"text\",\"value\":\"\"},\"Password\":{\"mode\":\"text\",\"value\":\"\"},\"Token\":{\"mode\":\"text\",\"value\":\"\"},\"ClientCertificateSource\":{\"mode\":\"select\",\"value\":\"CertificateStore\"},\"ClientCertificateFilePath\":{\"mode\":\"text\",\"value\":\"\"},\"ClientCertificateInBase64\":{\"mode\":\"text\",\"value\":\"\"},\"ClientCertificateKeyPhrase\":{\"mode\":\"text\",\"value\":\"\"},\"CertificateThumbprint\":{\"mode\":\"text\",\"value\":\"\"},\"LoadEntireChainForCertificate\":{\"mode\":\"toggle\",\"value\":true},\"ConnectionTimeoutSeconds\":{\"mode\":\"integer\",\"value\":30},\"FollowRedirects\":{\"mode\":\"toggle\",\"value\":true},\"AllowInvalidCertificate\":{\"mode\":\"toggle\",\"value\":false},\"AllowInvalidResponseContentTypeCharSet\":{\"mode\":\"toggle\",\"value\":false},\"ThrowExceptionOnErrorResponse\":{\"mode\":\"toggle\",\"value\":false},\"AutomaticCookieHandling\":{\"mode\":\"toggle\",\"value\":true}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/d2f2020e-4ce6-4e5f-879f-ef34e57c9fca/v1\",\"PromoteResultAs\":null,\"Name\":\"Obtain authorisation token from Magento\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":true,\"ShouldDispose\":null},{\"Id\":\"Gateway_08yc1ft\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.StatusCode == 200\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Token received?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_0pejhp8\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_1rng89p\",\"Type\":1,\"Parameters\":{\"input\":{\"Method\":{\"mode\":\"select\",\"value\":\"GET\"},\"ResultMethod\":{\"mode\":\"select\",\"value\":\"JToken\"},\"Url\":{\"mode\":\"text\",\"value\":\"{{#var.MagentoBaseUrl}}/rest/V1/products?searchCriteria[filterGroups][0][filters][0][field]=status&searchCriteria[filterGroups][0][filters][0][value]=1\"},\"Message\":{\"mode\":\"text\",\"value\":\"\"},\"Headers\":[]},\"options\":{\"Authentication\":{\"mode\":\"select\",\"value\":\"OAuth\"},\"Username\":{\"mode\":\"text\",\"value\":\"\"},\"Password\":{\"mode\":\"text\",\"value\":\"\"},\"Token\":{\"mode\":\"csharp\",\"value\":\"#result[Obtain authorisation token from Magento].Body\"},\"ClientCertificateSource\":{\"mode\":\"select\",\"value\":\"CertificateStore\"},\"ClientCertificateFilePath\":{\"mode\":\"text\",\"value\":\"\"},\"ClientCertificateInBase64\":{\"mode\":\"text\",\"value\":\"\"},\"ClientCertificateKeyPhrase\":{\"mode\":\"text\",\"value\":\"\"},\"CertificateThumbprint\":{\"mode\":\"text\",\"value\":\"\"},\"LoadEntireChainForCertificate\":{\"mode\":\"toggle\",\"value\":true},\"ConnectionTimeoutSeconds\":{\"mode\":\"integer\",\"value\":30},\"FollowRedirects\":{\"mode\":\"toggle\",\"value\":true},\"AllowInvalidCertificate\":{\"mode\":\"toggle\",\"value\":false},\"AllowInvalidResponseContentTypeCharSet\":{\"mode\":\"toggle\",\"value\":false},\"ThrowExceptionOnErrorResponse\":{\"mode\":\"toggle\",\"value\":false},\"AutomaticCookieHandling\":{\"mode\":\"toggle\",\"value\":true}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/d2f2020e-4ce6-4e5f-879f-ef34e57c9fca/v1\",\"PromoteResultAs\":null,\"Name\":\"Get product and price information from Magento\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_1715jiq\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.StatusCode == 200\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Products and prices received?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_1m84c1p\",\"Type\":6,\"Parameters\":{\"expression\":{\"mode\":\"text\",\"value\":\"An error occurred when trying to obtain authorisation token from Magento: \\\\n{{#result[Obtain authorisation token from Magento].Body.message}}\"},\"bypassGlobalExceptionHandler\":{\"mode\":\"toggle\",\"value\":true}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1sw1nin\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_0zn5hus\",\"Type\":6,\"Parameters\":{\"expression\":{\"mode\":\"text\",\"value\":\"An error occurred when trying to fetch product and price information from Magento: \\\\n{{#result[Obtain authorisation token from Magento].Body.message}}\"},\"bypassGlobalExceptionHandler\":{\"mode\":\"toggle\",\"value\":true}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_0wmj6ux\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"FrendsTestElementId\",\"Type\":19,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Test\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1cqu3am\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_1qf2uk7\",\"Type\":12,\"Parameters\":{\"variableName\":\"errors\",\"variableExpression\":{\"mode\":\"csharp\",\"value\":\"\\\"\\\"\"},\"shouldAssignVariable\":{\"mode\":\"toggle\",\"value\":true}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Initialize error variable\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_0urulu9\",\"Type\":13,\"Parameters\":{},\"SelectedTypeId\":\"\",\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_0zc53iz\",\"Type\":10,\"Parameters\":{\"variable\":\"product\",\"expression\":{\"mode\":\"csharp\",\"value\":\"#result[Get product and price information from Magento].Body.items\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"For each product\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_03ck676\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.errors != \\\"\\\" ? $\\\"{#var.insertCount} products inserted and {#var.updateCount} updated into Dynamics365. The following errors occurred:\\\\n{#var.errors}\\\" : $\\\"{#var.insertCount} products inserted and {#var.updateCount} updated into Dynamics365.\\\"\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_1lhrg7k\",\"Type\":1,\"Parameters\":{\"input\":{\"ClientId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientId\"},\"TenantId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365TenantId\"},\"ClientSecret\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientSecret\"},\"Dynamics365Url\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365Url\"},\"Method\":{\"mode\":\"select\",\"value\":\"GET\"},\"Path\":{\"mode\":\"text\",\"value\":\"products?$filter=productnumber eq 'MAG{{#var.product.id}}'\"},\"Payload\":{\"mode\":\"text\",\"value\":\"\"}},\"options\":{\"ApiVersion\":{\"mode\":\"text\",\"value\":\"v9.1\"},\"ThrowExceptionOnErrorResponse\":{\"mode\":\"toggle\",\"value\":false}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/81e6cd26-703c-4622-bbad-9743db2a6ae6/v2\",\"PromoteResultAs\":null,\"Name\":\"Get product information from Dynamics365\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_05eucic\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result[Get product information from Dynamics365].Data.value.Count > 0\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Does the product already exist?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1vzf282\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_1eqw2va\",\"Type\":1,\"Parameters\":{\"input\":{\"ClientId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientId\"},\"TenantId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365TenantId\"},\"ClientSecret\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientSecret\"},\"Dynamics365Url\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365Url\"},\"Method\":{\"mode\":\"select\",\"value\":\"PATCH\"},\"Path\":{\"mode\":\"text\",\"value\":\"products({{#result[Get product information from Dynamics365].Data.value[0].productid}})\"},\"Payload\":{\"mode\":\"text\",\"value\":\"{\\r\\n    \\\"name\\\": \\\"{{#var.product.name}}\\\",\\r\\n    \\\"price\\\": {{#var.product.price}}\\r\\n}\"}},\"options\":{\"ApiVersion\":{\"mode\":\"text\",\"value\":\"v9.1\"},\"ThrowExceptionOnErrorResponse\":{\"mode\":\"toggle\",\"value\":false}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/81e6cd26-703c-4622-bbad-9743db2a6ae6/v2\",\"PromoteResultAs\":null,\"Name\":\"Update product in Dynamics365\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1hjnboc\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_10qbuvx\",\"Type\":1,\"Parameters\":{\"input\":{\"ClientId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientId\"},\"TenantId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365TenantId\"},\"ClientSecret\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientSecret\"},\"Dynamics365Url\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365Url\"},\"Method\":{\"mode\":\"select\",\"value\":\"POST\"},\"Path\":{\"mode\":\"text\",\"value\":\"products\"},\"Payload\":{\"mode\":\"text\",\"value\":\"{\\r\\n    \\\"productnumber\\\": \\\"{{\\\"MAG\\\" + #var.product.id}}\\\",\\r\\n    \\\"name\\\": \\\"{{#var.product.name}}\\\",\\r\\n    \\\"price\\\": {{#var.product.price}},\\r\\n    \\\"productstructure\\\": 1,\\r\\n    \\\"statecode\\\": 1,\\r\\n    \\\"defaultuomid@odata.bind\\\": \\\"/uoms({{#result[Get unit of measurement from Dynamics365].Data.value[0].uomid}})\\\",\\r\\n    \\\"defaultuomscheduleid@odata.bind\\\": \\\"/uomschedules({{#result[Get unit of measurement from Dynamics365].Data.value[0]._uomscheduleid_value}})\\\",\\r\\n    \\\"quantitydecimal\\\": 2\\r\\n}\"}},\"options\":{\"ApiVersion\":{\"mode\":\"text\",\"value\":\"v9.1\"},\"ThrowExceptionOnErrorResponse\":{\"mode\":\"toggle\",\"value\":false}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/81e6cd26-703c-4622-bbad-9743db2a6ae6/v2\",\"PromoteResultAs\":null,\"Name\":\"Insert product to Dynamics365\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_02liaw6\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.Success\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Price list entry updated successfully?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_0ko8v56\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.Success\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Price list entry created successfully?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1ika6jr\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_1dmqfcd\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.errors += $\\\"An error occurred when updating the price list entry for {#var.product.name}:\\\\n{#result.ErrorMessage}\\\"\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_0i10dcy\",\"Type\":12,\"Parameters\":{\"variableName\":\"updateCount\",\"variableExpression\":{\"mode\":\"csharp\",\"value\":\"0\"},\"shouldAssignVariable\":{\"mode\":\"toggle\",\"value\":true}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Initialize update count\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_0y9swvj\",\"Type\":12,\"Parameters\":{\"variableName\":\"insertCount\",\"variableExpression\":{\"mode\":\"csharp\",\"value\":\"0\"},\"shouldAssignVariable\":{\"mode\":\"toggle\",\"value\":true}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Initialize insert count\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1a3jr6c\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_186vory\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.errors += $\\\"An error occurred when inserting the product {#var.product.name} into the price list:\\\\n{#result.ErrorMessage}\\\"\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_0sktfz9\",\"Type\":1,\"Parameters\":{\"input\":{\"ClientId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientId\"},\"TenantId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365TenantId\"},\"ClientSecret\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientSecret\"},\"Dynamics365Url\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365Url\"},\"Method\":{\"mode\":\"select\",\"value\":\"GET\"},\"Path\":{\"mode\":\"text\",\"value\":\"uoms?$filter=name eq 'Primary Unit'\"},\"Payload\":{\"mode\":\"text\",\"value\":\"\"}},\"options\":{\"ApiVersion\":{\"mode\":\"text\",\"value\":\"v9.1\"},\"ThrowExceptionOnErrorResponse\":{\"mode\":\"toggle\",\"value\":false}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/81e6cd26-703c-4622-bbad-9743db2a6ae6/v2\",\"PromoteResultAs\":null,\"Name\":\"Get unit of measurement from Dynamics365\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_1ist9t8\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.Success\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Unit of measure gotten successfully?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_05xe3wb\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_0js29gg\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.errors += $\\\"\\\\nAn error occurred when fetching unit of measurement information from Dynamics365:\\\\n{#result[Get unit of measurement from Dynamics365].ErrorMessage}\\\"\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_0s76pvr\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.Success\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Product information gotten succesfully?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_0x4yfpw\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_132f5uc\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_0eyztbb\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.errors += $\\\"\\\\nAn error occurred when fetching poduct information from Dynamics365:\\\\n{#result[Get product information from Dynamics365].ErrorMessage}\\\"\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_0appot9\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_1sohz9w\",\"Type\":1,\"Parameters\":{\"input\":{\"ClientId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientId\"},\"TenantId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365TenantId\"},\"ClientSecret\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientSecret\"},\"Dynamics365Url\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365Url\"},\"Method\":{\"mode\":\"select\",\"value\":\"GET\"},\"Path\":{\"mode\":\"text\",\"value\":\"pricelevels?$filter=name eq 'Magento Price List'\"},\"Payload\":{\"mode\":\"text\",\"value\":\"\"}},\"options\":{\"ApiVersion\":{\"mode\":\"text\",\"value\":\"v9.1\"},\"ThrowExceptionOnErrorResponse\":{\"mode\":\"toggle\",\"value\":false}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/81e6cd26-703c-4622-bbad-9743db2a6ae6/v2\",\"PromoteResultAs\":null,\"Name\":\"Get price list information from Dynamics365\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_0w6y53j\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.Success\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Price list information gotten successfully?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1gz7tn5\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_0o9j3v4\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_14csk0o\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.errors += $\\\"\\\\nAn error occurred when fetching price list information from Dynamics365:\\\\n{#result[Get price list information from Dynamics365].ErrorMessage}\\\"\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_0snpv40\",\"Type\":1,\"Parameters\":{\"input\":{\"ClientId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientId\"},\"TenantId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365TenantId\"},\"ClientSecret\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientSecret\"},\"Dynamics365Url\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365Url\"},\"Method\":{\"mode\":\"select\",\"value\":\"POST\"},\"Path\":{\"mode\":\"text\",\"value\":\"productpricelevels\"},\"Payload\":{\"mode\":\"text\",\"value\":\"{\\r\\n    \\\"pricelevelid@odata.bind\\\": \\\"/pricelevels({{#result[Get price list information from Dynamics365].Data.value[0].pricelevelid}})\\\",\\r\\n    \\\"productid@odata.bind\\\": \\\"/products({{#result[Get Dynamics365 ID of inserted product].Data.value[0].productid}})\\\",\\r\\n    \\\"uomid@odata.bind\\\": \\\"/uoms({{#result[Get unit of measurement from Dynamics365].Data.value[0].uomid}})\\\",\\r\\n    \\\"amount\\\": {{#var.product.price}}\\r\\n}\"}},\"options\":{\"ApiVersion\":{\"mode\":\"text\",\"value\":\"v9.1\"},\"ThrowExceptionOnErrorResponse\":{\"mode\":\"toggle\",\"value\":false}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/81e6cd26-703c-4622-bbad-9743db2a6ae6/v2\",\"PromoteResultAs\":null,\"Name\":\"Insert product into price list\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_0x7qybu\",\"Type\":1,\"Parameters\":{\"input\":{\"ClientId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientId\"},\"TenantId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365TenantId\"},\"ClientSecret\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientSecret\"},\"Dynamics365Url\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365Url\"},\"Method\":{\"mode\":\"select\",\"value\":\"GET\"},\"Path\":{\"mode\":\"text\",\"value\":\"products?$filter=productnumber eq '{{\\\"MAG\\\" + #var.product.id}}'\"},\"Payload\":{\"mode\":\"text\",\"value\":\"\"}},\"options\":{\"ApiVersion\":{\"mode\":\"text\",\"value\":\"v9.1\"},\"ThrowExceptionOnErrorResponse\":{\"mode\":\"toggle\",\"value\":false}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/81e6cd26-703c-4622-bbad-9743db2a6ae6/v2\",\"PromoteResultAs\":null,\"Name\":\"Get Dynamics365 ID of inserted product\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_17ae1xw\",\"Type\":1,\"Parameters\":{\"input\":{\"ClientId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientId\"},\"TenantId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365TenantId\"},\"ClientSecret\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientSecret\"},\"Dynamics365Url\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365Url\"},\"Method\":{\"mode\":\"select\",\"value\":\"PATCH\"},\"Path\":{\"mode\":\"text\",\"value\":\"productpricelevels({{#result[Get price list entry ID of the product].Data.value[0].productpricelevelid}})\"},\"Payload\":{\"mode\":\"text\",\"value\":\"{\\r\\n    \\\"uomid@odata.bind\\\": \\\"/uoms({{#result[Get unit of measurement from Dynamics365].Data.value[0].uomid}})\\\",\\r\\n    \\\"amount\\\": {{#var.product.price}}\\r\\n}\"}},\"options\":{\"ApiVersion\":{\"mode\":\"text\",\"value\":\"v9.1\"},\"ThrowExceptionOnErrorResponse\":{\"mode\":\"toggle\",\"value\":false}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/81e6cd26-703c-4622-bbad-9743db2a6ae6/v2\",\"PromoteResultAs\":null,\"Name\":\"Update product price list entry\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"DataStoreReference_1os5a3s\",\"Type\":22,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Magento\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"DataStoreReference_12xebdk\",\"Type\":22,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Dynamics365\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"DataStoreReference_0xqjq81\",\"Type\":22,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Dynamics365\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Activity_1sfk34j\",\"Type\":1,\"Parameters\":{\"input\":{\"ClientId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientId\"},\"TenantId\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365TenantId\"},\"ClientSecret\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365ClientSecret\"},\"Dynamics365Url\":{\"mode\":\"csharp\",\"value\":\"#var.Dynamics365Url\"},\"Method\":{\"mode\":\"select\",\"value\":\"GET\"},\"Path\":{\"mode\":\"text\",\"value\":\"productpricelevels?$filter=_productid_value eq {{#result[Get product information from Dynamics365].Data.value[0].productid}}\"},\"Payload\":{\"mode\":\"text\",\"value\":\"\"}},\"options\":{\"ApiVersion\":{\"mode\":\"text\",\"value\":\"v9.1\"},\"ThrowExceptionOnErrorResponse\":{\"mode\":\"toggle\",\"value\":false}},\"cancellationToken\":null},\"SelectedTypeId\":\"/ProcessTask/81e6cd26-703c-4622-bbad-9743db2a6ae6/v2\",\"PromoteResultAs\":null,\"Name\":\"Get price list entry ID of the product\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":false,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_0g8q0bv\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_068k1yx\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.updateCount++\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1fa6aef\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_0kzkj1k\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.insertCount++\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_1ho2mte\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.Success\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Product updated successfully?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1tjozeo\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_1xo4b6p\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.Success\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Price list entry ID gotten successfully?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_16zhis8\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_0jlkehn\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_05d54ac\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.errors += $\\\"An error occurred when updating the product {#var.product.name}:\\\\n{#result.ErrorMessage}\\\"\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_0bnx2zq\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_1bj9jgv\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.errors += $\\\"An error occurred when fetching the price list entry ID for {#var.product.name}:\\\\n{#result.ErrorMessage}\\\"\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_1glqp7q\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.Success\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Product inserted successfully?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1nerp1k\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Gateway_09j5a1l\",\"Type\":2,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#result.Success\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"Product ID gotten succesfully?\",\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1wjd7ju\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"yes\",\"Description\":null,\"IsDefault\":false,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_1ku1abo\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_1e8uwv4\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.errors += $\\\"An error occurred when fetching the product ID of {#var.product.name}:\\\\n{#result.ErrorMessage}\\\"\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Flow_00al0ho\",\"Type\":4,\"Parameters\":{},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":\"no\",\"Description\":null,\"IsDefault\":true,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null},{\"Id\":\"Event_07ijnw9\",\"Type\":5,\"Parameters\":{\"expression\":{\"mode\":\"csharp\",\"value\":\"#var.errors += $\\\"An error occurred when inserting the product {#var.product.name}:\\\\n{#result.ErrorMessage}\\\"\"}},\"SelectedTypeId\":null,\"PromoteResultAs\":null,\"Name\":null,\"Description\":null,\"IsDefault\":null,\"ShouldRetry\":null,\"MaxRetryCount\":null,\"ShouldNotLogResult\":null,\"ShouldDispose\":null}]",
					"ManualTriggerJson": "[]",
					"IsSubprocess": false,
					"TriggersJson": "[{\"$type\":\"ScheduleTrigger\",\"config\":{\"startTimeMinute\":\"00\",\"startTimeHour\":\"00\",\"endTimeMinute\":\"00\",\"endTimeHour\":\"00\",\"endTime\":\"00:00\",\"startTime\":\"00:00\",\"recurring\":true,\"repeatDelay\":12,\"repeatDelaySeconds\":43200,\"limitToOneConcurrentExecution\":true,\"cycleRecurEvery\":1,\"cycleType\":\"Daily\",\"cycleLength\":1,\"seasonStartDate\":\"2024-06-27\",\"seasonEndDate\":null,\"cycleDaysOfWeek\":\"None\",\"cycleMonths\":\"None\",\"cycleDaysString\":\"\",\"cycleDayRanks\":\"None\",\"monthlyCycleType\":\"OnDays\",\"repeatDelayType\":3600,\"timeZone\":\"FLE Standard Time\"},\"name\":\"Schedule\",\"id\":\"StartEvent_1\",\"shouldNotLogParameters\":null}]",
					"AssemblyName": null,
					"PackageId": null,
					"PackageVersion": null,
					"UsedTasksJson": "[\"/ProcessTask/D2F2020E-4CE6-4E5F-879F-EF34E57C9FCA/v1\",\"/ProcessTask/81E6CD26-703C-4622-BBAD-9743DB2A6AE6/v2\"]",
					"UsedSubprocessesJson": "{}",
					"ProcessExecutionVersion": "",
					"FrendsVersion": "5.7.3.1743",
					"TargetFramework": "net8.0",
					"StaticRequiredEnvironmentVariables": [],
					"RequiredEnvironmentVariables": [],
					"PromotedResultVariablesJson": "[]",
					"MajorVersion": 1,
					"MinorVersion": 0,
					"IsForMonitoringRule": false,
					"ProcessVariablesJson": null
				},
				"LinkedTasks": {
					"f410e088-92fd-4935-af95-5196be465097": [
						{
							"Id": "d2f2020e-4ce6-4e5f-879f-ef34e57c9fca",
							"PackageId": "Frends.HTTP.Request",
							"PackageVersion": "1.1.2",
							"Name": "Frends.HTTP.Request.HTTP.Request(Input, Options, CancellationToken)",
							"FrameworkIdentifier": ".NETCoreApp"
						},
						{
							"Id": "81e6cd26-703c-4622-bbad-9743db2a6ae6",
							"PackageId": "Frends.MicrosoftDynamics365.Request",
							"PackageVersion": "1.1.0",
							"Name": "Frends.MicrosoftDynamics365.Request.MicrosoftDynamics365.Request(Input, Options, CancellationToken)",
							"FrameworkIdentifier": ".NETCoreApp"
						}
					]
				},
				"LinkedSubProcess": {},
				"Version": "Acc41"
			}
		}
	]
}