This page provides the list of events and associated payload for internal events (via RabbitMQ/AWS MQ) and external events (via EventBridge) for the Pricing microservice.
External Events via EventBridge
The following events contain the entity changed in the event message payload.
List of Events
S.No. | API call | Call detail | Event Type | Identifier |
---|---|---|---|---|
1. | DELETE | DeletePrice | priceservice/price/delete | response_Price.id |
2. | PUT | UpdatePrice | priceservice/price/update | response_Price.id |
3. | GET | ApplyPriceRule | priceservices/pricerules/apply | response_Price.id |
4. | POST | CreatePrice | priceservice/price/create | response_Price.id |
5. | POST | CreateMultiPrice | priceservice/multiprice/create | response_priceRequest.id |
6. | POST | CreateNote | priceservice/note/create | response_id |
7. | POST | CreatePriceFacet | priceservice/pricefacet/create | response_id |
8. | POST | CreatePriceListFacet | priceservice/pricelistfacet/create | response_id |
9. | POST | CreatePriceList | priceservice/pricelist/create | response_id |
10. | POST | CreatePriceRule | priceservice/pricerule/create | response_id |
11. | POST | CreatePriceValue | priceservice/pricevalue/create | response_priceId |
12. | POST | CreateProject | priceservice/project/create | response_id |
13. | DELETE | DeletePriceFacet | priceservice/pricefacet/delete | request_id |
14. | DELETE | DeletePriceListFacet | priceservice/pricelistfacet/delete | request_priceListId |
15. | DELETE | DeletePriceList | priceservice/pricelist/delete | request_id |
16. | DELETE | DeletePriceRule | priceservice/pricerule/delete | request_id |
17. | DELETE | DeletePriceValue | priceservice/pricevalue/delete | request_priceId |
18. | DELETE | DeleteProject | priceservice/project/delete | request_id |
19. | PATCH | PatchUpdatePriceFacet | priceservice/pricefacet/patch | response_id |
20. | PATCH | PatchUpdatePriceListFacet | priceservice/pricelistfacet/patch | response_id |
21. | PATCH | PatchUpdatePriceList | priceservice/pricelist/patch | response_id |
22. | PATCH | PatchUpdatePriceRule | priceservice/pricerule/patch | response_id |
23. | PATCH | PatchUpdatePrice | priceservice/price/patch | response_id |
24. | PATCH | PatchUpdatePriceValue | priceservice/pricevalue/patch | response_priceId |
25. | PATCH | PatchUpdateProject | priceservice/project/patch | response_id |
26. | PUT | UpdatePriceFacet | priceservice/pricefacet/update | response_id |
27. | PUT | UpdatePriceListFacet | priceservice/pricelistfacet/update | response_id |
28. | PUT | UpdatePriceList | priceservice/pricelist/update | response_id |
29. | PUT | UpdatePriceValue | priceservice/pricevalue/update | response_priceId |
30. | PUT | UpdateProject | priceservice/project/update | response_id |
Payload
DeletePrice
Event Type: priceservice/price/delete
{
"version": "0",
"id": "08348057-35fc-7e0d-e97e-8741727573bd",
"detail-type": "priceservice/price/delete",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:38Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "4035469",
"timestamp": 1715256938294,
"payload": {
"createdBy": 0,
"updatedBy": 0,
"id": 0,
"priceListId": 0,
"projectId": 0,
"unitOfMeasureId": 0
},
"collectionId": "22380",
"eventType": "priceservice/price/delete",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
UpdatePrice
Event Type: priceservice/price/update
{
"version": "0",
"id": "2791b6ef-af0d-4eab-f595-64b9ff4bf402",
"detail-type": "priceservice/price/update",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:30Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "4035467",
"timestamp": 1715256930042,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:26-07:00",
"updatedOn": "2024-05-09T05:15:30.030079-07:00",
"id": 4035467,
"priceListId": 38342,
"projectId": 53441,
"unitOfMeasureId": 1,
"skuId": "Price_skuId_1715256926216",
"minqty": 2,
"maxqty": 9,
"transactionalPrice": 25.0,
"subscriptionPercentage": 10.0,
"floorPrice": 11.0,
"status": "ACTIVE",
"startTime": "2023-05-10T05:13:48-07:00",
"endTime": "2027-05-09T05:13:48-07:00"
},
"collectionId": "22380",
"eventType": "priceservice/price/update",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
ApplyPriceRule
Event Type: priceservice/price/find
{
"version": "0",
"id": "a78a73df-3cb6-9919-1c02-ba0ad7a28254",
"detail-type": "priceservices/pricerules/apply",
"source": "priceservices",
"account": "277827593990",
"time": "2024-05-09T12:16:14Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"timestamp": 1715256974867,
"payload": {
"applyPriceRules": [
{
"skuId": "Price_skuId7738_1715256854441",
"fetchPrice": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:14:14-07:00",
"updatedOn": "2024-05-09T05:14:14-07:00",
"id": 4035436,
"priceListId": 38335,
"projectId": 53432,
"unitOfMeasureId": 1,
"skuId": "Price_skuId7738_1715256854441",
"transactionalPrice": 35.0,
"status": "ACTIVE"
},
"processPrice": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:14:14-07:00",
"updatedOn": "2024-05-09T05:14:14-07:00",
"id": 4035436,
"priceListId": 38335,
"projectId": 53432,
"unitOfMeasureId": 1,
"skuId": "Price_skuId7738_1715256854441",
"transactionalPrice": 29.99,
"status": "ACTIVE"
}
},
{
"skuId": "Price_skuId7738_1715256854502",
"fetchPrice": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:14:15-07:00",
"updatedOn": "2024-05-09T05:14:15-07:00",
"id": 4035437,
"priceListId": 38336,
"projectId": 53433,
"unitOfMeasureId": 1,
"skuId": "Price_skuId7738_1715256854502",
"transactionalPrice": 35.0,
"status": "ACTIVE"
},
"processPrice": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:14:15-07:00",
"updatedOn": "2024-05-09T05:14:15-07:00",
"id": 4035437,
"priceListId": 38336,
"projectId": 53433,
"unitOfMeasureId": 1,
"skuId": "Price_skuId7738_1715256854502",
"transactionalPrice": 35.99,
"status": "ACTIVE"
}
},
{
"skuId": "Price_skuId7738_1715256854560",
"fetchPrice": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:14:15-07:00",
"updatedOn": "2024-05-09T05:14:15-07:00",
"id": 4035438,
"priceListId": 38337,
"projectId": 53434,
"unitOfMeasureId": 1,
"skuId": "Price_skuId7738_1715256854560",
"transactionalPrice": 35.0,
"status": "ACTIVE"
},
"processPrice": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:14:15-07:00",
"updatedOn": "2024-05-09T05:14:15-07:00",
"id": 4035438,
"priceListId": 38337,
"projectId": 53434,
"unitOfMeasureId": 1,
"skuId": "Price_skuId7738_1715256854560",
"transactionalPrice": 18.49,
"status": "ACTIVE"
}
}
]
},
"collectionId": "23081",
"eventType": "priceservices/pricerules/apply",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
CreatePrice
Event Type: priceservice/price/create
{
"version": "0",
"id": "bf462794-588e-2181-46c1-c4ab52d50207",
"detail-type": "priceservice/price/create",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:26Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "4035466",
"timestamp": 1715256926273,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:26.260385-07:00",
"updatedOn": "2024-05-09T05:15:26.260391-07:00",
"id": 4035466,
"priceListId": 38342,
"projectId": 53441,
"unitOfMeasureId": 1,
"skuId": "Price_skuId_1715256926216",
"transactionalPrice": 35.0,
"status": "ACTIVE"
},
"collectionId": "22380",
"eventType": "priceservice/price/create",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
CreateMultiPrice
Event Type: priceservice/multiprice/create
{
"version": "0",
"id": "70c115b9-6fa0-44b2-1497-7ca983440ca4",
"detail-type": "priceservice/multiprice/create",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:42Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"timestamp": 1715256942034,
"payload": {
"priceRequest": [
{
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:41.893121-07:00",
"updatedOn": "2024-05-09T05:15:41.893126-07:00",
"id": 4035470,
"priceListId": 38342,
"projectId": 53441,
"unitOfMeasureId": 2,
"skuId": "skuid1_1715256941858",
"transactionalPrice": 100.0,
"status": "ACTIVE",
"values": [
{
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:42-07:00",
"updatedOn": "2024-05-09T05:15:42-07:00",
"priceId": 4035470,
"priceFacetId": 38978,
"value": 20.0,
"priceFacetName": "variableMin"
},
{
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:42-07:00",
"updatedOn": "2024-05-09T05:15:42-07:00",
"priceId": 4035470,
"priceFacetId": 38979,
"value": 100.0,
"priceFacetName": "variableMax"
}
]
},
{
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:41.972355-07:00",
"updatedOn": "2024-05-09T05:15:41.972359-07:00",
"id": 4035471,
"priceListId": 38342,
"projectId": 53441,
"unitOfMeasureId": 2,
"skuId": "skuid2_1715256941858",
"transactionalPrice": 100.0,
"status": "ACTIVE",
"values": [
{
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:42-07:00",
"updatedOn": "2024-05-09T05:15:42-07:00",
"priceId": 4035471,
"priceFacetId": 38978,
"value": 40.0,
"priceFacetName": "variableMin"
},
{
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:42-07:00",
"updatedOn": "2024-05-09T05:15:42-07:00",
"priceId": 4035471,
"priceFacetId": 38979,
"value": 100.0,
"priceFacetName": "variableMax"
}
]
}
]
},
"collectionId": "22380",
"eventType": "priceservice/multiprice/create",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
CreateNote
Event Type: priceservice/note/create
{
"version": "0",
"id": "3e5a3e5a-7241-7595-296e-fe0209fb21c9",
"detail-type": "priceservice/note/create",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:14:55Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "20227",
"timestamp": 1715256895866,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:14:55.853997-07:00",
"updatedOn": "2024-05-09T05:14:55.854004-07:00",
"id": 20227,
"projectId": 53441,
"comments": "CReated SKU for this projetc"
},
"collectionId": "22380",
"eventType": "priceservice/note/create",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
CreatePriceFacet
Event Type: priceservice/pricefacet/create
{
"version": "0",
"id": "4c44c5ba-03ef-b362-0073-1502d9cb21e2",
"detail-type": "priceservice/pricefacet/create",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:11Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "42725",
"timestamp": 1715256911283,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:11.272404-07:00",
"updatedOn": "2024-05-09T05:15:11.27241-07:00",
"id": 42725,
"collectionId": 22380,
"name": "PriceFacert_SECOM3723_1715256911253",
"status": "ACTIVE"
},
"collectionId": "22380",
"eventType": "priceservice/pricefacet/create",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
CreatePriceListFacet
Event Type: priceservice/pricelistfacet/create
{
"version": "0",
"id": "726c481c-6cd1-7ad4-3798-6199d19b7c35",
"detail-type": "priceservice/pricelistfacet/create",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:45Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "0",
"timestamp": 1715256945683,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:45.672776-07:00",
"updatedOn": "2024-05-09T05:15:45.672781-07:00",
"id": 0,
"priceListId": 38342,
"priceFacetId": 42725,
"mandatory": "ENABLE"
},
"collectionId": "22380",
"eventType": "priceservice/pricelistfacet/create",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
CreatePriceList
Event Type: priceservice/pricelist/create
{
"version": "0",
"id": "ed60d160-d871-4e93-efdd-d1db7274bb1d",
"detail-type": "priceservice/pricelist/create",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:14:25Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "38342",
"timestamp": 1715256865275,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:14:25.147342-07:00",
"updatedOn": "2024-05-09T05:14:25.147349-07:00",
"id": 38342,
"collectionId": 22380,
"name": "PriceList_ExternalEvents_1715256865079",
"description": "Raleigh",
"status": "ACTIVE",
"tierPrice": "ENABLE",
"schedulePrice": "ENABLE",
"subscription": "ENABLE",
"floorPrice": "ENABLE",
"currencySign": "INR",
"bundlePrice": "ENABLE",
"variablePrice": "ENABLE"
},
"collectionId": "22380",
"eventType": "priceservice/pricelist/create",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
CreatePriceRule
Event Type: priceservice/pricerule/create
[
{
"logStreamName": "a906e0a7-d039-3fd4-98b0-e7fd2b2ba5d9",
"timestamp": 1715256899000,
"message": "{\"version\":\"0\",\"id\":\"375d8d8f-eaca-eef3-d170-230bd546e090\",\"detail-type\":\"priceservice/pricerule/create\",\"source\":\"priceservice\",\"account\":\"277827593990\",\"time\":\"2024-05-09T12:14:59Z\",\"region\":\"us-east-1\",\"resources\":[],\"detail\":{\"id\":\"780\",\"timestamp\":1715256899770,\"payload\":{\"createdBy\":1,\"updatedBy\":1,\"createdOn\":\"2024-05-09T05:14:59.657858-07:00\",\"updatedOn\":\"2024-05-09T05:14:59.657866-07:00\",\"id\":780,\"collectionId\":22380,\"name\":\"1715256899078\",\"description\":\"string\",\"status\":\"ACTIVE\",\"rule\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<!-- origin at X=0.0 Y=0.0 -->\\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\\\" xmlns:java=\\\"http://www.java.com/javaTypes\\\" xmlns:tns=\\\"http://www.jboss.org/drools\\\" xmlns=\\\"http://www.jboss.org/drools\\\" xsi:schemaLocation=\\\"http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd\\\" id=\\\"Definition\\\" exporter=\\\"org.eclipse.bpmn2.modeler.core\\\" exporterVersion=\\\"1.4.2.Final-v20171109-1930-B1\\\" expressionLanguage=\\\"http://www.mvel.org/2.0\\\" targetNamespace=\\\"http://www.jboss.org/drools\\\" typeLanguage=\\\"http://www.java.com/javaTypes\\\">\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_1493\\\" isCollection=\\\"false\\\" structureRef=\\\"java.lang.Long\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_2306\\\" isCollection=\\\"false\\\" structureRef=\\\"java.lang.String\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_7288\\\" isCollection=\\\"false\\\" structureRef=\\\"java.lang.Integer\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_8748\\\" isCollection=\\\"false\\\" structureRef=\\\"java.lang.Object\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_319\\\" isCollection=\\\"false\\\" structureRef=\\\"com.skava.price.model.entity.Price\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_440\\\" isCollection=\\\"false\\\" structureRef=\\\"java.lang.Boolean\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_536\\\" isCollection=\\\"false\\\" structureRef=\\\"com.skava.price.model.exchange.Price\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_1132\\\" isCollection=\\\"false\\\" structureRef=\\\"com.skava.price.repository.ProjectRepository\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_41\\\" isCollection=\\\"false\\\" structureRef=\\\"com.skava.price.repository.PriceRepository\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_257\\\" isCollection=\\\"false\\\" structureRef=\\\"com.skava.price.repository.PriceValueRepository\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_460\\\" isCollection=\\\"false\\\" structureRef=\\\"com.skava.price.repository.PriceFacetRepository\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_647\\\" isCollection=\\\"false\\\" structureRef=\\\"com.skava.price.process.PriceValueProcess\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_813\\\" isCollection=\\\"false\\\" structureRef=\\\"com.skava.price.process.CommonProcess\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_1112\\\" isCollection=\\\"false\\\" structureRef=\\\"java.lang.Short\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_12\\\" isCollection=\\\"false\\\" structureRef=\\\"java.lang.Double\\\"/>\\n <bpmn2:itemDefinition id=\\\"ItemDefinition_237\\\" isCollection=\\\"false\\\" structureRef=\\\"com.skava.price.repository.PriceListRepository\\\"/>\\n <bpmn2:process id=\\\"1715256899078_23081\\\" tns:packageName=\\\"com.skava.bpm\\\" name=\\\"1715256899078_23081\\\" isExecutable=\\\"true\\\" processType=\\\"Public\\\">\\n <bpmn2:startEvent id=\\\"StartEvent_1\\\" name=\\\"Start Event 1\\\">\\n <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>\\n </bpmn2:startEvent>\\n <bpmn2:endEvent id=\\\"EndEvent_1\\\" name=\\\"End Event 1\\\">\\n <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>\\n </bpmn2:endEvent>\\n <bpmn2:task id=\\\"Task_1\\\" tns:taskName=\\\"FetchPriceFromList\\\" tns:displayName=\\\"FetchPriceFromList\\\" tns:icon=\\\"task.png\\\" name=\\\"FetchPriceFromList\\\">\\n <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>\\n <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>\\n <bpmn2:ioSpecification id=\\\"InputOutputSpecification_4\\\">\\n <bpmn2:dataInput id=\\\"DataInput_3\\\" itemSubjectRef=\\\"ItemDefinition_1493\\\" name=\\\"collectionId\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_4\\\" itemSubjectRef=\\\"ItemDefinition_2306\\\" name=\\\"skuId\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_1\\\" itemSubjectRef=\\\"ItemDefinition_1493\\\" name=\\\"priceListId\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_2\\\" itemSubjectRef=\\\"ItemDefinition_1132\\\" name=\\\"projectRepository\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_8\\\" itemSubjectRef=\\\"ItemDefinition_460\\\" name=\\\"priceFacetRepository\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_9\\\" itemSubjectRef=\\\"ItemDefinition_41\\\" name=\\\"priceRepository\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_10\\\" itemSubjectRef=\\\"ItemDefinition_647\\\" name=\\\"priceValueProcess\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_11\\\" itemSubjectRef=\\\"ItemDefinition_257\\\" name=\\\"priceValueRepository\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_12\\\" itemSubjectRef=\\\"ItemDefinition_813\\\" name=\\\"commonProcess\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_23\\\" itemSubjectRef=\\\"ItemDefinition_1493\\\" name=\\\"projectId\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_46\\\" itemSubjectRef=\\\"ItemDefinition_237\\\" name=\\\"priceListRepository\\\"/>\\n <bpmn2:dataOutput id=\\\"DataOutput_4\\\" itemSubjectRef=\\\"ItemDefinition_536\\\" name=\\\"fetchPrice\\\"/>\\n <bpmn2:inputSet id=\\\"InputSet_10\\\">\\n <bpmn2:dataInputRefs>DataInput_3</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_4</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_1</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_2</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_8</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_9</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_10</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_11</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_12</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_23</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_46</bpmn2:dataInputRefs>\\n </bpmn2:inputSet>\\n <bpmn2:outputSet id=\\\"OutputSet_4\\\">\\n <bpmn2:dataOutputRefs>DataOutput_4</bpmn2:dataOutputRefs>\\n </bpmn2:outputSet>\\n </bpmn2:ioSpecification>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_3\\\">\\n <bpmn2:sourceRef>collectionId</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_3</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_4\\\">\\n <bpmn2:sourceRef>skuId</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_4</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_1\\\">\\n <bpmn2:targetRef>DataInput_1</bpmn2:targetRef>\\n <bpmn2:assignment id=\\\"Assignment_1\\\">\\n <bpmn2:from xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_8\\\" evaluatesToTypeRef=\\\"ItemDefinition_1493\\\">38335</bpmn2:from>\\n <bpmn2:to xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_6\\\">DataInput_1</bpmn2:to>\\n </bpmn2:assignment>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_2\\\">\\n <bpmn2:sourceRef>projectRepository</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_2</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_8\\\">\\n <bpmn2:sourceRef>priceFacetRepository</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_8</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_9\\\">\\n <bpmn2:sourceRef>priceRepository</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_9</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_10\\\">\\n <bpmn2:sourceRef>priceValueProcess</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_10</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_11\\\">\\n <bpmn2:sourceRef>priceValueRepository</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_11</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_12\\\">\\n <bpmn2:sourceRef>commonProcess</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_12</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_23\\\">\\n <bpmn2:sourceRef>projectId</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_23</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_46\\\">\\n <bpmn2:sourceRef>priceListRepository</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_46</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataOutputAssociation id=\\\"DataOutputAssociation_4\\\">\\n <bpmn2:sourceRef>DataOutput_4</bpmn2:sourceRef>\\n <bpmn2:targetRef>fetchPrice</bpmn2:targetRef>\\n </bpmn2:dataOutputAssociation>\\n </bpmn2:task>\\n <bpmn2:task id=\\\"Task_2\\\" tns:taskName=\\\"ProcessPrice\\\" tns:displayName=\\\"ProcessPrice\\\" tns:icon=\\\"task.png\\\" name=\\\"ProcessPrice\\\">\\n <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>\\n <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>\\n <bpmn2:ioSpecification id=\\\"InputOutputSpecification_13\\\">\\n <bpmn2:dataInput id=\\\"DataInput_5\\\" itemSubjectRef=\\\"ItemDefinition_2306\\\" name=\\\"priceAdjustment\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_6\\\" itemSubjectRef=\\\"ItemDefinition_7288\\\" name=\\\"roundingPattern\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_7\\\" itemSubjectRef=\\\"ItemDefinition_7288\\\" name=\\\"percentage\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_14\\\" itemSubjectRef=\\\"ItemDefinition_536\\\" name=\\\"fetchPrice\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_43\\\" itemSubjectRef=\\\"ItemDefinition_2306\\\" name=\\\"roundOff\\\"/>\\n <bpmn2:dataOutput id=\\\"DataOutput_5\\\" itemSubjectRef=\\\"ItemDefinition_536\\\" name=\\\"processPrice\\\"/>\\n <bpmn2:inputSet id=\\\"InputSet_14\\\">\\n <bpmn2:dataInputRefs>DataInput_5</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_6</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_7</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_14</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_43</bpmn2:dataInputRefs>\\n </bpmn2:inputSet>\\n <bpmn2:outputSet id=\\\"OutputSet_3\\\">\\n <bpmn2:dataOutputRefs>DataOutput_5</bpmn2:dataOutputRefs>\\n </bpmn2:outputSet>\\n </bpmn2:ioSpecification>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_5\\\">\\n <bpmn2:targetRef>DataInput_5</bpmn2:targetRef>\\n <bpmn2:assignment id=\\\"Assignment_2\\\">\\n <bpmn2:from xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_11\\\" evaluatesToTypeRef=\\\"ItemDefinition_2306\\\">markdown</bpmn2:from>\\n <bpmn2:to xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_9\\\">DataInput_5</bpmn2:to>\\n </bpmn2:assignment>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_6\\\">\\n <bpmn2:targetRef>DataInput_6</bpmn2:targetRef>\\n <bpmn2:assignment id=\\\"Assignment_12\\\">\\n <bpmn2:from xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_31\\\" evaluatesToTypeRef=\\\"ItemDefinition_12\\\">1.99</bpmn2:from>\\n <bpmn2:to xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_29\\\">DataInput_6</bpmn2:to>\\n </bpmn2:assignment>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_7\\\">\\n <bpmn2:targetRef>DataInput_7</bpmn2:targetRef>\\n <bpmn2:assignment id=\\\"Assignment_3\\\">\\n <bpmn2:from xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_14\\\" evaluatesToTypeRef=\\\"ItemDefinition_7288\\\">20</bpmn2:from>\\n <bpmn2:to xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_12\\\">DataInput_7</bpmn2:to>\\n </bpmn2:assignment>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_14\\\">\\n <bpmn2:sourceRef>fetchPrice</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_14</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_43\\\">\\n <bpmn2:targetRef>DataInput_43</bpmn2:targetRef>\\n <bpmn2:assignment id=\\\"Assignment_11\\\">\\n <bpmn2:from xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_28\\\" evaluatesToTypeRef=\\\"ItemDefinition_2306\\\">roundup</bpmn2:from>\\n <bpmn2:to xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_25\\\">DataInput_43</bpmn2:to>\\n </bpmn2:assignment>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataOutputAssociation id=\\\"DataOutputAssociation_5\\\">\\n <bpmn2:sourceRef>DataOutput_5</bpmn2:sourceRef>\\n <bpmn2:targetRef>processPrice</bpmn2:targetRef>\\n </bpmn2:dataOutputAssociation>\\n </bpmn2:task>\\n <bpmn2:sequenceFlow id=\\\"SequenceFlow_3\\\" sourceRef=\\\"Task_1\\\" targetRef=\\\"ExclusiveGateway_1\\\"/>\\n <bpmn2:sequenceFlow id=\\\"SequenceFlow_4\\\" sourceRef=\\\"Task_2\\\" targetRef=\\\"EndEvent_1\\\"/>\\n <bpmn2:exclusiveGateway id=\\\"ExclusiveGateway_1\\\" name=\\\"priceAvailable\\\" gatewayDirection=\\\"Diverging\\\" default=\\\"SequenceFlow_7\\\">\\n <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>\\n <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>\\n <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>\\n </bpmn2:exclusiveGateway>\\n <bpmn2:sequenceFlow id=\\\"SequenceFlow_1\\\" name=\\\"markdown\\\" sourceRef=\\\"ExclusiveGateway_1\\\" targetRef=\\\"Task_2\\\">\\n <bpmn2:conditionExpression xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_2\\\" language=\\\"http://www.java.com/java\\\">return fetchPrice != null;</bpmn2:conditionExpression>\\n </bpmn2:sequenceFlow>\\n <bpmn2:task id=\\\"Task_3\\\" tns:taskName=\\\"FetchPriceFromList\\\" tns:displayName=\\\"FetchPriceFromList\\\" tns:icon=\\\"task.png\\\" name=\\\"FetchPriceFromList\\\">\\n <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>\\n <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>\\n <bpmn2:ioSpecification id=\\\"InputOutputSpecification_1\\\">\\n <bpmn2:dataInput id=\\\"DataInput_13\\\" itemSubjectRef=\\\"ItemDefinition_1493\\\" name=\\\"collectionId\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_15\\\" itemSubjectRef=\\\"ItemDefinition_2306\\\" name=\\\"skuId\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_16\\\" itemSubjectRef=\\\"ItemDefinition_1493\\\" name=\\\"priceListId\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_17\\\" itemSubjectRef=\\\"ItemDefinition_1132\\\" name=\\\"projectRepository\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_18\\\" itemSubjectRef=\\\"ItemDefinition_460\\\" name=\\\"priceFacetRepository\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_19\\\" itemSubjectRef=\\\"ItemDefinition_41\\\" name=\\\"priceRepository\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_20\\\" itemSubjectRef=\\\"ItemDefinition_647\\\" name=\\\"priceValueProcess\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_21\\\" itemSubjectRef=\\\"ItemDefinition_257\\\" name=\\\"priceValueRepository\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_22\\\" itemSubjectRef=\\\"ItemDefinition_813\\\" name=\\\"commonProcess\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_25\\\" itemSubjectRef=\\\"ItemDefinition_1493\\\" name=\\\"projectId\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_47\\\" itemSubjectRef=\\\"ItemDefinition_237\\\" name=\\\"priceListRepository\\\"/>\\n <bpmn2:dataOutput id=\\\"DataOutput_2\\\" itemSubjectRef=\\\"ItemDefinition_536\\\" name=\\\"fetchPrice\\\"/>\\n <bpmn2:inputSet id=\\\"InputSet_1\\\">\\n <bpmn2:dataInputRefs>DataInput_13</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_15</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_16</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_17</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_18</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_19</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_20</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_21</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_22</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_25</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_47</bpmn2:dataInputRefs>\\n </bpmn2:inputSet>\\n <bpmn2:outputSet id=\\\"OutputSet_1\\\">\\n <bpmn2:dataOutputRefs>DataOutput_2</bpmn2:dataOutputRefs>\\n </bpmn2:outputSet>\\n </bpmn2:ioSpecification>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_13\\\">\\n <bpmn2:sourceRef>collectionId</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_13</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_15\\\">\\n <bpmn2:sourceRef>skuId</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_15</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_16\\\">\\n <bpmn2:targetRef>DataInput_16</bpmn2:targetRef>\\n <bpmn2:assignment id=\\\"Assignment_4\\\">\\n <bpmn2:from xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_17\\\" evaluatesToTypeRef=\\\"ItemDefinition_1493\\\">38336</bpmn2:from>\\n <bpmn2:to xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_15\\\">DataInput_16</bpmn2:to>\\n </bpmn2:assignment>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_17\\\">\\n <bpmn2:sourceRef>projectRepository</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_17</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_18\\\">\\n <bpmn2:sourceRef>priceFacetRepository</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_18</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_19\\\">\\n <bpmn2:sourceRef>priceRepository</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_19</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_20\\\">\\n <bpmn2:sourceRef>priceValueProcess</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_20</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_21\\\">\\n <bpmn2:sourceRef>priceValueRepository</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_21</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_22\\\">\\n <bpmn2:sourceRef>commonProcess</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_22</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_25\\\">\\n <bpmn2:sourceRef>projectId</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_25</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_47\\\">\\n <bpmn2:sourceRef>priceListRepository</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_47</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataOutputAssociation id=\\\"DataOutputAssociation_2\\\">\\n <bpmn2:sourceRef>DataOutput_2</bpmn2:sourceRef>\\n <bpmn2:targetRef>fetchPrice</bpmn2:targetRef>\\n </bpmn2:dataOutputAssociation>\\n </bpmn2:task>\\n <bpmn2:sequenceFlow id=\\\"SequenceFlow_7\\\" name=\\\"priceNotAvail\\\" sourceRef=\\\"ExclusiveGateway_1\\\" targetRef=\\\"Task_3\\\"/>\\n <bpmn2:sequenceFlow id=\\\"SequenceFlow_10\\\" sourceRef=\\\"StartEvent_1\\\" targetRef=\\\"ExclusiveGateway_2\\\"/>\\n <bpmn2:task id=\\\"Task_4\\\" tns:taskName=\\\"ProcessPrice\\\" tns:displayName=\\\"ProcessPrice\\\" tns:icon=\\\"task.png\\\" name=\\\"ProcessPrice\\\">\\n <bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>\\n <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>\\n <bpmn2:ioSpecification id=\\\"InputOutputSpecification_2\\\">\\n <bpmn2:dataInput id=\\\"DataInput_24\\\" itemSubjectRef=\\\"ItemDefinition_2306\\\" name=\\\"priceAdjustment\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_26\\\" itemSubjectRef=\\\"ItemDefinition_2306\\\" name=\\\"roundingPattern\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_27\\\" itemSubjectRef=\\\"ItemDefinition_7288\\\" name=\\\"percentage\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_28\\\" itemSubjectRef=\\\"ItemDefinition_536\\\" name=\\\"fetchPrice\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_44\\\" itemSubjectRef=\\\"ItemDefinition_2306\\\" name=\\\"roundOff\\\"/>\\n <bpmn2:dataOutput id=\\\"DataOutput_1\\\" itemSubjectRef=\\\"ItemDefinition_536\\\" name=\\\"processPrice\\\"/>\\n <bpmn2:inputSet id=\\\"InputSet_2\\\">\\n <bpmn2:dataInputRefs>DataInput_24</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_26</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_27</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_28</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_44</bpmn2:dataInputRefs>\\n </bpmn2:inputSet>\\n <bpmn2:outputSet id=\\\"OutputSet_2\\\">\\n <bpmn2:dataOutputRefs>DataOutput_1</bpmn2:dataOutputRefs>\\n </bpmn2:outputSet>\\n </bpmn2:ioSpecification>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_24\\\">\\n <bpmn2:targetRef>DataInput_24</bpmn2:targetRef>\\n <bpmn2:assignment id=\\\"Assignment_5\\\">\\n <bpmn2:from xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_20\\\" evaluatesToTypeRef=\\\"ItemDefinition_2306\\\">markup</bpmn2:from>\\n <bpmn2:to xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_18\\\">DataInput_24</bpmn2:to>\\n </bpmn2:assignment>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_26\\\">\\n <bpmn2:targetRef>DataInput_26</bpmn2:targetRef>\\n <bpmn2:assignment id=\\\"Assignment_6\\\">\\n <bpmn2:from xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_23\\\" evaluatesToTypeRef=\\\"ItemDefinition_12\\\">0.99</bpmn2:from>\\n <bpmn2:to xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_21\\\">DataInput_26</bpmn2:to>\\n </bpmn2:assignment>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_27\\\">\\n <bpmn2:targetRef>DataInput_27</bpmn2:targetRef>\\n <bpmn2:assignment id=\\\"Assignment_10\\\">\\n <bpmn2:from xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_26\\\" evaluatesToTypeRef=\\\"ItemDefinition_7288\\\">5</bpmn2:from>\\n <bpmn2:to xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_24\\\">DataInput_27</bpmn2:to>\\n </bpmn2:assignment>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_28\\\">\\n <bpmn2:sourceRef>fetchPrice</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_28</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_44\\\">\\n <bpmn2:targetRef>DataInput_44</bpmn2:targetRef>\\n <bpmn2:assignment id=\\\"Assignment_13\\\">\\n <bpmn2:from xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_34\\\" evaluatesToTypeRef=\\\"ItemDefinition_2306\\\">rounddown</bpmn2:from>\\n <bpmn2:to xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_32\\\">DataInput_44</bpmn2:to>\\n </bpmn2:assignment>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataOutputAssociation id=\\\"DataOutputAssociation_1\\\">\\n <bpmn2:sourceRef>DataOutput_1</bpmn2:sourceRef>\\n <bpmn2:targetRef>processPrice</bpmn2:targetRef>\\n </bpmn2:dataOutputAssociation>\\n </bpmn2:task>\\n <bpmn2:endEvent id=\\\"EndEvent_3\\\" name=\\\"End Event 3\\\">\\n <bpmn2:incoming>SequenceFlow_13</bpmn2:incoming>\\n </bpmn2:endEvent>\\n <bpmn2:sequenceFlow id=\\\"SequenceFlow_13\\\" sourceRef=\\\"Task_4\\\" targetRef=\\\"EndEvent_3\\\"/>\\n <bpmn2:endEvent id=\\\"EndEvent_5\\\" name=\\\"End Event 5\\\">\\n <bpmn2:incoming>SequenceFlow_16</bpmn2:incoming>\\n </bpmn2:endEvent>\\n <bpmn2:exclusiveGateway id=\\\"ExclusiveGateway_4\\\" name=\\\"priceAvailable\\\" gatewayDirection=\\\"Diverging\\\" default=\\\"SequenceFlow_16\\\">\\n <bpmn2:incoming>SequenceFlow_15</bpmn2:incoming>\\n <bpmn2:outgoing>SequenceFlow_16</bpmn2:outgoing>\\n <bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>\\n </bpmn2:exclusiveGateway>\\n <bpmn2:sequenceFlow id=\\\"SequenceFlow_15\\\" sourceRef=\\\"Task_3\\\" targetRef=\\\"ExclusiveGateway_4\\\"/>\\n <bpmn2:sequenceFlow id=\\\"SequenceFlow_16\\\" name=\\\"priceNotAvail\\\" sourceRef=\\\"ExclusiveGateway_4\\\" targetRef=\\\"EndEvent_5\\\"/>\\n <bpmn2:sequenceFlow id=\\\"SequenceFlow_17\\\" name=\\\"markup\\\" sourceRef=\\\"ExclusiveGateway_4\\\" targetRef=\\\"Task_4\\\">\\n <bpmn2:conditionExpression xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_5\\\" language=\\\"http://www.java.com/java\\\">return fetchPrice != null;</bpmn2:conditionExpression>\\n </bpmn2:sequenceFlow>\\n <bpmn2:exclusiveGateway id=\\\"ExclusiveGateway_2\\\" name=\\\"flow\\\" gatewayDirection=\\\"Diverging\\\" default=\\\"SequenceFlow_12\\\">\\n <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>\\n <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>\\n <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>\\n <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>\\n </bpmn2:exclusiveGateway>\\n <bpmn2:sequenceFlow id=\\\"SequenceFlow_2\\\" name=\\\"updrade\\\" sourceRef=\\\"ExclusiveGateway_2\\\" targetRef=\\\"Task_1\\\">\\n <bpmn2:conditionExpression xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_4\\\" language=\\\"http://www.java.com/java\\\">return "upgrade".equals(flow);</bpmn2:conditionExpression>\\n </bpmn2:sequenceFlow>\\n <bpmn2:task id=\\\"Task_5\\\" tns:taskName=\\\"FetchPriceFromList\\\" tns:displayName=\\\"FetchPriceFromList\\\" tns:icon=\\\"task.png\\\" name=\\\"FetchPriceFromList\\\">\\n <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>\\n <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>\\n <bpmn2:ioSpecification id=\\\"InputOutputSpecification_3\\\">\\n <bpmn2:dataInput id=\\\"DataInput_29\\\" itemSubjectRef=\\\"ItemDefinition_1493\\\" name=\\\"collectionId\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_30\\\" itemSubjectRef=\\\"ItemDefinition_2306\\\" name=\\\"skuId\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_31\\\" itemSubjectRef=\\\"ItemDefinition_1493\\\" name=\\\"priceListId\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_32\\\" itemSubjectRef=\\\"ItemDefinition_1132\\\" name=\\\"projectRepository\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_33\\\" itemSubjectRef=\\\"ItemDefinition_460\\\" name=\\\"priceFacetRepository\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_34\\\" itemSubjectRef=\\\"ItemDefinition_41\\\" name=\\\"priceRepository\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_35\\\" itemSubjectRef=\\\"ItemDefinition_647\\\" name=\\\"priceValueProcess\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_36\\\" itemSubjectRef=\\\"ItemDefinition_257\\\" name=\\\"priceValueRepository\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_37\\\" itemSubjectRef=\\\"ItemDefinition_813\\\" name=\\\"commonProcess\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_38\\\" itemSubjectRef=\\\"ItemDefinition_1493\\\" name=\\\"projectId\\\"/>\\n <bpmn2:dataInput id=\\\"DataInput_48\\\" itemSubjectRef=\\\"ItemDefinition_237\\\" name=\\\"priceListRepository\\\"/>\\n <bpmn2:dataOutput id=\\\"DataOutput_3\\\" itemSubjectRef=\\\"ItemDefinition_536\\\" name=\\\"fetchPrice\\\"/>\\n <bpmn2:inputSet id=\\\"InputSet_3\\\">\\n <bpmn2:dataInputRefs>DataInput_29</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_30</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_31</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_32</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_33</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_34</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_35</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_36</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_37</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_38</bpmn2:dataInputRefs>\\n <bpmn2:dataInputRefs>DataInput_48</bpmn2:dataInputRefs>\\n </bpmn2:inputSet>\\n <bpmn2:outputSet id=\\\"OutputSet_5\\\">\\n <bpmn2:dataOutputRefs>DataOutput_3</bpmn2:dataOutputRefs>\\n </bpmn2:outputSet>\\n </bpmn2:ioSpecification>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_29\\\">\\n <bpmn2:sourceRef>collectionId</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_29</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_30\\\">\\n <bpmn2:sourceRef>skuId</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_30</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_31\\\">\\n <bpmn2:targetRef>DataInput_31</bpmn2:targetRef>\\n <bpmn2:assignment id=\\\"Assignment_7\\\">\\n <bpmn2:from xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_1\\\" evaluatesToTypeRef=\\\"ItemDefinition_1493\\\">38337</bpmn2:from>\\n <bpmn2:to xsi:type=\\\"bpmn2:tFormalExpression\\\" id=\\\"FormalExpression_3\\\">DataInput_1</bpmn2:to>\\n </bpmn2:assignment>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_32\\\">\\n <bpmn2:sourceRef>projectRepository</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_32</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_33\\\">\\n <bpmn2:sourceRef>priceFacetRepository</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_33</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_34\\\">\\n <bpmn2:sourceRef>priceRepository</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_34</bpmn2:targetRef>\\n </bpmn2:dataInputAssociation>\\n <bpmn2:dataInputAssociation id=\\\"DataInputAssociation_35\\\">\\n <bpmn2:sourceRef>priceValueProcess</bpmn2:sourceRef>\\n <bpmn2:targetRef>DataInput_35</bpmn2:targ
CreatePriceValue
Event Type: priceservice/pricevalue/create
{
"version": "0",
"id": "82b61a7d-e684-ff0c-9917-d6aafb3f3c66",
"detail-type": "priceservice/pricevalue/create",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:56Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "4035467",
"timestamp": 1715256956614,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:56.601578-07:00",
"updatedOn": "2024-05-09T05:15:56.601583-07:00",
"priceId": 4035467,
"priceFacetId": 42725,
"value": 28.0
},
"collectionId": "22380",
"eventType": "priceservice/pricevalue/create",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
CreateProject
Event Type: priceservice/project/create
{
"version": "0",
"id": "79f7f753-7964-872c-c2f4-0f2013c73dfa",
"detail-type": "priceservice/project/create",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:14:41Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "53441",
"timestamp": 1715256881061,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:14:41.032751-07:00",
"updatedOn": "2024-05-09T05:14:41.03276-07:00",
"id": 53441,
"priceListId": 38342,
"name": "Project_ExternalEvents_1715256881015",
"description": "Test Testing",
"status": "OPEN",
"targetCompletionDate": "2027-05-09T05:13:48-07:00"
},
"collectionId": "22380",
"eventType": "priceservice/project/create",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
DeletePriceFacet
Event Type: priceservice/pricefacet/delete
{
"version": "0",
"id": "31185dc4-188e-f126-da35-65911df04809",
"detail-type": "priceservice/pricefacet/delete",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:22Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "42726",
"timestamp": 1715256922533,
"payload": {
"createdBy": 0,
"updatedBy": 0,
"id": 0,
"collectionId": 0
},
"collectionId": "22380",
"eventType": "priceservice/pricefacet/delete",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
DeletePriceListFacet
Event Type: priceservice/pricelistfacet/delete
{
"version": "0",
"id": "5fe635a9-b36d-6518-0c8d-64119e2d21fb",
"detail-type": "priceservice/pricelistfacet/delete",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:16:10Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "38342",
"timestamp": 1715256970699,
"payload": {
"createdBy": 0,
"updatedBy": 0,
"id": 0,
"priceListId": 0,
"priceFacetId": 0
},
"collectionId": "22380",
"eventType": "priceservice/pricelistfacet/delete",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
DeletePriceList
Event Type: priceservice/pricelist/delete
{
"version": "0",
"id": "bb9b1be9-1d27-dd3f-201f-c663ebd70ab9",
"detail-type": "priceservice/pricelist/delete",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:14:37Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "38343",
"timestamp": 1715256877364,
"payload": {
"createdBy": 0,
"updatedBy": 0,
"id": 0,
"collectionId": 0
},
"collectionId": "22380",
"eventType": "priceservice/pricelist/delete",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
DeletePriceRule
Event Type: priceservice/pricerule/delete
{
"version": "0",
"id": "5e73c3fd-19dc-ba4e-329c-9935270d9123",
"detail-type": "priceservice/pricerule/delete",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:07Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "781",
"timestamp": 1715256907572,
"payload": {
"createdBy": 0,
"updatedBy": 0,
"id": 0,
"collectionId": 0
},
"collectionId": "22380",
"eventType": "priceservice/pricerule/delete",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
DeletePriceValue
Event Type: priceservice/pricevalue/delete
{
"version": "0",
"id": "acc5edea-48ab-a56e-85f5-359044a6a31d",
"detail-type": "priceservice/pricevalue/delete",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:16:07Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "4035467",
"timestamp": 1715256967081,
"payload": {
"createdBy": 0,
"updatedBy": 0,
"priceId": 0,
"priceFacetId": 0
},
"collectionId": "22380",
"eventType": "priceservice/pricevalue/delete",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
DeleteProject
Event Type: priceservice/project/delete
{
"version": "0",
"id": "ee06b416-417e-2811-2ea9-ad75d175a7d8",
"detail-type": "priceservice/project/delete",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:14:52Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "53442",
"timestamp": 1715256892291,
"payload": {
"createdBy": 0,
"updatedBy": 0,
"id": 0,
"priceListId": 0
},
"collectionId": "22380",
"eventType": "priceservice/project/delete",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdatePriceFacet
Event Type: priceservice/pricefacet/patch
{
"version": "0",
"id": "548054ed-dbb4-0b7e-f8d2-857ef0bcadbd",
"detail-type": "priceservice/pricefacet/patch",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:18Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "42725",
"timestamp": 1715256918455,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:11-07:00",
"updatedOn": "2024-05-09T05:15:15-07:00",
"id": 42725,
"collectionId": 22380,
"name": "PriceFacet_SECOM3753_1715256918416",
"status": "INACTIVE"
},
"collectionId": "22380",
"eventType": "priceservice/pricefacet/patch",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdatePriceListFacet
Event Type: priceservice/pricelistfacet/patch
{
"version": "0",
"id": "76374e73-f139-f6df-173e-b1d6464514b9",
"detail-type": "priceservice/pricelistfacet/patch",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:52Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "0",
"timestamp": 1715256952966,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:46-07:00",
"updatedOn": "2024-05-09T05:15:46-07:00",
"id": 0,
"priceListId": 38342,
"priceFacetId": 42725,
"mandatory": "DISABLE"
},
"collectionId": "22380",
"eventType": "priceservice/pricelistfacet/patch",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdatePriceList
Event Type: priceservice/pricelist/patch
{
"version": "0",
"id": "03985197-6976-c1ef-ae1e-c590873f3fd2",
"detail-type": "priceservice/pricelist/patch",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:14:33Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "38342",
"timestamp": 1715256873280,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:14:25-07:00",
"updatedOn": "2024-05-09T05:14:30-07:00",
"id": 38342,
"collectionId": 22380,
"name": "PriceList_ExternalEvents_1715256873226",
"description": "PATCH updated",
"status": "INACTIVE",
"tierPrice": "ENABLE",
"schedulePrice": "ENABLE",
"subscription": "ENABLE",
"floorPrice": "ENABLE",
"currencySign": "INR",
"bundlePrice": "ENABLE",
"variablePrice": "ENABLE"
},
"collectionId": "22380",
"eventType": "priceservice/pricelist/patch",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdatePriceRule
Event Type: priceservice/pricerule/patch
[
{
"logStreamName": "8096a00b-61f2-35c6-910e-4aceaa8d6ca7",
"timestamp": 1715256903000,
"message": "{\"version\":\"0\",\"id\":\"483e0801-d4f7-ad47-cb7f-084c02546ade\",\"detail-type\":\"priceservice/pricerule/patch\",\"source\":\"priceservice\",\"account\":\"277827593990\",\"time\":\"2024-05-09T12:15:03Z\",\"region\":\"us-east-1\",\"resources\":[],\"detail\":{\"id\":\"780\",\"timestamp\":1715256903657,\"payload\":{\"createdBy\":1,\"updatedBy\":1,\"createdOn\":\"2024-05-09T05:15:00-07:00\",\"updatedOn\":\"2024-05-09T05:15:03.538057309-07:00\",\"id\":780,\"collectionId\":22380,\"name\":\"1715256902996\",\"description\":\"string\",\"status\":\"ACTIVE\",\"rule\":\"<!--?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?-->\\n<!-- origin at X=0.0 Y=0.0 -->\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n SequenceFlow_10\\n \\n \\n SequenceFlow_4\\n \\n \\n SequenceFlow_2\\n SequenceFlow_3\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n DataInput_3\\n DataInput_4\\n DataInput_1\\n DataInput_2\\n DataInput_8\\n DataInput_9\\n DataInput_10\\n DataInput_11\\n DataInput_12\\n DataInput_23\\n DataInput_46\\n \\n \\n DataOutput_4\\n \\n \\n \\n collectionId\\n DataInput_3\\n \\n \\n skuId\\n DataInput_4\\n \\n \\n DataInput_1\\n \\n 38335\\n DataInput_1\\n \\n \\n \\n projectRepository\\n DataInput_2\\n \\n \\n priceFacetRepository\\n DataInput_8\\n \\n \\n priceRepository\\n DataInput_9\\n \\n \\n priceValueProcess\\n DataInput_10\\n \\n \\n priceValueRepository\\n DataInput_11\\n \\n \\n commonProcess\\n DataInput_12\\n \\n \\n projectId\\n DataInput_23\\n \\n \\n priceListRepository\\n DataInput_46\\n \\n \\n DataOutput_4\\n fetchPrice\\n \\n \\n \\n SequenceFlow_1\\n SequenceFlow_4\\n \\n \\n \\n \\n \\n \\n \\n \\n DataInput_5\\n DataInput_6\\n DataInput_7\\n DataInput_14\\n DataInput_43\\n \\n \\n DataOutput_5\\n \\n \\n \\n DataInput_5\\n \\n markdown\\n DataInput_5\\n \\n \\n \\n DataInput_6\\n \\n 1.99\\n DataInput_6\\n \\n \\n \\n DataInput_7\\n \\n 20\\n DataInput_7\\n \\n \\n \\n fetchPrice\\n DataInput_14\\n \\n \\n DataInput_43\\n \\n roundup\\n DataInput_43\\n \\n \\n \\n DataOutput_5\\n processPrice\\n \\n \\n \\n \\n \\n SequenceFlow_3\\n SequenceFlow_1\\n SequenceFlow_7\\n \\n \\n return fetchPrice != null;\\n \\n \\n SequenceFlow_7\\n SequenceFlow_15\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n DataInput_13\\n DataInput_15\\n DataInput_16\\n DataInput_17\\n DataInput_18\\n DataInput_19\\n DataInput_20\\n DataInput_21\\n DataInput_22\\n DataInput_25\\n DataInput_47\\n \\n \\n DataOutput_2\\n \\n \\n \\n collectionId\\n DataInput_13\\n \\n \\n skuId\\n DataInput_15\\n \\n \\n DataInput_16\\n \\n 38336\\n DataInput_16\\n \\n \\n \\n projectRepository\\n DataInput_17\\n \\n \\n priceFacetRepository\\n DataInput_18\\n \\n \\n priceRepository\\n DataInput_19\\n \\n \\n priceValueProcess\\n DataInput_20\\n \\n \\n priceValueRepository\\n DataInput_21\\n \\n \\n commonProcess\\n DataInput_22\\n \\n \\n projectId\\n DataInput_25\\n \\n \\n priceListRepository\\n DataInput_47\\n \\n \\n DataOutput_2\\n fetchPrice\\n \\n \\n \\n \\n \\n SequenceFlow_17\\n SequenceFlow_13\\n \\n \\n \\n \\n \\n \\n \\n \\n DataInput_24\\n DataInput_26\\n DataInput_27\\n DataInput_28\\n DataInput_44\\n \\n \\n DataOutput_1\\n \\n \\n \\n DataInput_24\\n \\n markup\\n DataInput_24\\n \\n \\n \\n DataInput_26\\n \\n 0.99\\n DataInput_26\\n \\n \\n \\n DataInput_27\\n \\n 5\\n DataInput_27\\n \\n \\n \\n fetchPrice\\n DataInput_28\\n \\n \\n DataInput_44\\n \\n rounddown\\n DataInput_44\\n \\n \\n \\n DataOutput_1\\n processPrice\\n \\n \\n \\n SequenceFlow_13\\n \\n \\n \\n SequenceFlow_16\\n \\n \\n SequenceFlow_15\\n SequenceFlow_16\\n SequenceFlow_17\\n \\n \\n \\n \\n return fetchPrice != null;\\n \\n \\n SequenceFlow_10\\n SequenceFlow_2\\n SequenceFlow_5\\n SequenceFlow_12\\n \\n \\n return "upgrade".equals(flow);\\n \\n \\n SequenceFlow_5\\n SequenceFlow_6\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n DataInput_29\\n DataInput_30\\n DataInput_31\\n DataInput_32\\n DataInput_33\\n DataInput_34\\n DataInput_35\\n DataInput_36\\n DataInput_37\\n DataInput_38\\n DataInput_48\\n \\n \\n DataOutput_3\\n \\n \\n \\n collectionId\\n DataInput_29\\n \\n \\n skuId\\n DataInput_30\\n \\n \\n DataInput_31\\n \\n 38337\\n DataInput_1\\n \\n \\n \\n projectRepository\\n DataInput_32\\n \\n \\n priceFacetRepository\\n DataInput_33\\n \\n \\n priceRepository\\n DataInput_34\\n \\n \\n priceValueProcess\\n DataInput_35</bpmn2:targetRef
PatchUpdatePrice
Event Type: priceservice/price/patch
{
"version": "0",
"id": "7f5c4ba9-2020-8226-786c-d1a7bc4297e0",
"detail-type": "priceservice/price/patch",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:33Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "4035467",
"timestamp": 1715256933673,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:26-07:00",
"updatedOn": "2024-05-09T05:15:30-07:00",
"id": 4035467,
"priceListId": 38342,
"projectId": 53441,
"unitOfMeasureId": 1,
"skuId": "Price_skuId_1715256926216",
"minqty": 2,
"maxqty": 9,
"transactionalPrice": 25.0,
"subscriptionPercentage": 10.0,
"floorPrice": 11.0,
"status": "ACTIVE",
"startTime": "2023-05-10T05:13:48-07:00",
"endTime": "2027-05-09T05:13:48-07:00"
},
"collectionId": "22380",
"eventType": "priceservice/price/patch",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdatePriceValue
Event Type: priceservice/pricevalue/patch
{
"version": "0",
"id": "2a0fe8da-88f1-1d83-35b8-977a5fcf8e0b",
"detail-type": "priceservice/pricevalue/patch",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:16:03Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "4035467",
"timestamp": 1715256963864,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:57-07:00",
"updatedOn": "2024-05-09T05:16:03.856285-07:00",
"priceId": 4035467,
"priceFacetId": 42725,
"value": 116.0
},
"collectionId": "22380",
"eventType": "priceservice/pricevalue/patch",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
PatchUpdateProject
Event Type: priceservice/project/patch
{
"version": "0",
"id": "4ccbec23-c8fd-a677-c9d0-44431a7b3cbd",
"detail-type": "priceservice/project/patch",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:14:48Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "53441",
"timestamp": 1715256888191,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:14:41-07:00",
"updatedOn": "2024-05-09T05:14:48.173286064-07:00",
"id": 53441,
"priceListId": 38342,
"name": "Project_ExternalEvents_1715256888154",
"description": "Iowa",
"status": "OPEN",
"targetCompletionDate": "2027-05-09T05:13:48-07:00"
},
"collectionId": "22380",
"eventType": "priceservice/project/patch",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
UpdatePriceFacet
Event Type: priceservice/pricefacet/update
{
"version": "0",
"id": "9b2539bc-f411-61e0-1f70-060163c0f181",
"detail-type": "priceservice/pricefacet/update",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:15Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "42725",
"timestamp": 1715256914888,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:11-07:00",
"updatedOn": "2024-05-09T05:15:14.875672-07:00",
"id": 42725,
"collectionId": 22380,
"name": "PriceFacet_SECOM3732_1715256914848",
"status": "INACTIVE"
},
"collectionId": "22380",
"eventType": "priceservice/pricefacet/update",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
UpdatePriceListFacet
Event Type: priceservice/pricelistfacet/update
{
"version": "0",
"id": "5860df7f-2c83-133a-e382-499d930a0266",
"detail-type": "priceservice/pricelistfacet/update",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:15:49Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "0",
"timestamp": 1715256949308,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:46-07:00",
"updatedOn": "2024-05-09T05:15:49.297015-07:00",
"id": 0,
"priceListId": 38342,
"priceFacetId": 42725,
"mandatory": "DISABLE"
},
"collectionId": "22380",
"eventType": "priceservice/pricelistfacet/update",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
UpdatePriceList
Event Type: priceservice/pricelist/update
{
"version": "0",
"id": "79d6d851-89af-2e8b-ddf2-2a3cbc37306d",
"detail-type": "priceservice/pricelist/update",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:14:29Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "38342",
"timestamp": 1715256869666,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:14:25-07:00",
"updatedOn": "2024-05-09T05:14:29.644552-07:00",
"id": 38342,
"collectionId": 22380,
"name": "PriceList_ExternalEvents_1715256869623",
"description": "PUT updated",
"status": "INACTIVE",
"tierPrice": "ENABLE",
"schedulePrice": "ENABLE",
"subscription": "ENABLE",
"floorPrice": "ENABLE",
"currencySign": "INR",
"bundlePrice": "ENABLE",
"variablePrice": "ENABLE"
},
"collectionId": "22380",
"eventType": "priceservice/pricelist/update",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
UpdatePriceValue
Event Type: priceservice/pricevalue/update
{
"version": "0",
"id": "71e3e1ec-eb79-9e77-5e65-f63309743999",
"detail-type": "priceservice/pricevalue/update",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:16:00Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "4035467",
"timestamp": 1715256960279,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:15:57-07:00",
"updatedOn": "2024-05-09T05:16:00.269002-07:00",
"priceId": 4035467,
"priceFacetId": 42725,
"value": 145.0
},
"collectionId": "22380",
"eventType": "priceservice/pricevalue/update",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
UpdateProject
Event Type: priceservice/project/update
{
"version": "0",
"id": "c45b859c-d40a-8e5d-428d-9b9bdf84ace2",
"detail-type": "priceservice/project/update",
"source": "priceservice",
"account": "277827593990",
"time": "2024-05-09T12:14:44Z",
"region": "us-east-1",
"resources": [
],
"detail": {
"id": "53441",
"timestamp": 1715256884622,
"payload": {
"createdBy": 1,
"updatedBy": 1,
"createdOn": "2024-05-09T05:14:41-07:00",
"updatedOn": "2024-05-09T05:14:44.605942-07:00",
"id": 53441,
"priceListId": 38342,
"name": "Project_ExternalEvents_1715256884590",
"description": "Iowa",
"status": "OPEN",
"targetCompletionDate": "2027-05-09T05:13:48-07:00"
},
"collectionId": "22380",
"eventType": "priceservice/project/update",
"userId": "1",
"actOnBehalfOfUser": 0,
"roles": [
"ROLE_SUPER_ADMIN"
],
"channel": "CSR"
}
}
Internal Events via RabbitMQ/AWS MQ
The following events communicate with the internal microservices.
List of Events
SL.# | NAME | DESCRIPTION | PUBLISH LOCATION | ROUTING KEY | DURABILITY | PAYLOAD TYPE |
---|---|---|---|---|---|---|
1 | Project Submitted | This event is triggered when a project is updated to SUBMITTED status. | Topic: ecomm | price.project.updated | false | PriceSubmittedProject |
2 | Project Approval In-Progress | This event is triggered when a project is updated to APPROVAL_INPROGRESS status. | Topic: ecomm | price.project.updated | false | PriceSubmittedProject |
3 | Project Approval Failed | This event is triggered when a project is updated to FAILED status. | Topic: ecomm | price.project.updated | false | PriceSubmittedProject |
4 | Project Approved | This event is triggered when a project is updated to APPROVED status. | Topic: ecomm | price.project.updated | false | PriceSubmittedProject |
5 | Project Denied | TThis event is triggered when a project is updated to DENIED status. | Topic: ecomm | price.project.updated | false | PriceSubmittedProject |
6 | Project Opened or Reopened | This event is triggered when a project is updated to OPEN status. | Topic: ecomm | price.project.updated | false | PriceSubmittedProject |
Payload Model
PriceSubmittedProject
PROPERTY | TYPE | DESCRIPTION | EXAMPLE |
---|---|---|---|
createdBy | integer | Indicates the ID of the user, who has created the project. | 1 |
updatedBy | integer | Indicates the ID of the user, who has updated the project. | 1 |
id | string | Indicates the unique valid ID of the project. | 1 |
priceListId | string | Indicates the unique valid ID of the pricelist. | 1 |
name | string | Specifies the name of the project. | Price Name |
status | string | Specifies the status of the project, such as OPEN, SUBMITTED, APPROVAL_IN_PROGRESS, APPROVAL_FAILED, APPROVED, DENIED, and DELETED. | APPROVED |
description | string | Denotes the description of the project. | Price Description is approved. |
targetCompletionDate | Date | Indicates the target completion date and time of the project, which is added by a user with appropriate privileges. | 2019-07-28T19:38:11.11+05:30 |
actualCompletionDate | Date | Indicates the actual completion date and time of the project, which is added by a user with appropriate privileges. | 2019-07-28T19:38:11.11+05:30 |
Revision History
2024-05-22 | SW – Added the external events for Release 8.17.4
2019-06-10 | PLK – Minor copyedits.
2019-05-20 | JP – Uploaded to a new table tool.
2019-04-05 | AN – Content updated for April 2019 release.
2019-01-23 | PLK – Page added and content uploaded.