Skip to Content
0
Oct 27, 2021 at 06:37 PM

Trigger event on the basis of fields

256 Views Last edit Oct 27, 2021 at 06:41 PM 2 rev

Hello Everybody

We are using and Event based architecture .

Where a Sales order is created it should Trigger an Event in Event Mesh .

But we want to trigger events when Sales Order are to be created by a certain User (CreatedBy field)

How can we achieve this .

Can we use change Pointer , Then we want to do only config , but not write any code (because that wont follow the Clean Core approach)

By any chance can we use the service descriptor given by Makoto Sugishita

{

    "options": {
        "management": true,
        "messagingrest": true,
        "messaging": true
    },
    "rules": {
        "topicRules": {
            "publishFilter": [
                "${namespace}/*"
            ],
            "subscribeFilter": [
                "${namespace}/*"
            ]
        },
        "queueRules": {
            "publishFilter": [
                "${namespace}/*"
            ],
            "subscribeFilter": [
                "${namespace}/*"
            ]
        }
    },
    "version": "1.1.0",
    "emname": "EM1",
    "namespace": "SAPJP/EM1/S4HANA"
}