node-red-contrib-salesforce-platform-event

0.1.8 • Public • Published

node-red-contrib-jsforce-platform-event

Released

date version description
2017-12-07 0.1.8 Bug fix
2017-12-06 0.1.6 Refactoring
2017-12-05 0.1.3 Released

Feature

  • Salesforce Platform Event Pub/Sub

Install

npm install --save node-red-contrib-jsforce-platform-event

Example Flow

[
    {
        "id": "b1b4bca8.e4436",
        "type": "inject",
        "z": "f1b0324f.3d005",
        "name": "",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "repeat": "",
        "crontab": "",
        "once": false,
        "x": 156,
        "y": 96,
        "wires": [
            [
                "46e7834f.2dc5dc"
            ]
        ]
    },
    {
        "id": "7640704e.8338",
        "type": "debug",
        "z": "f1b0324f.3d005",
        "name": "",
        "active": true,
        "console": "false",
        "complete": "false",
        "x": 598,
        "y": 176,
        "wires": []
    },
    {
        "id": "3aabc83.4119638",
        "type": "debug",
        "z": "f1b0324f.3d005",
        "name": "",
        "active": true,
        "console": "false",
        "complete": "false",
        "x": 598,
        "y": 256,
        "wires": []
    },
    {
        "id": "3a1e0c54.823234",
        "type": "salesforce-platform-event-pub",
        "z": "f1b0324f.3d005",
        "salesforce": "a140012d.ca6cb",
        "eventname": "testPF__e",
        "name": "",
        "x": 394,
        "y": 176,
        "wires": [
            [
                "7640704e.8338"
            ]
        ]
    },
    {
        "id": "5d3ba5b9.75451c",
        "type": "salesforce-platform-event-sub",
        "z": "f1b0324f.3d005",
        "salesforce": "a140012d.ca6cb",
        "eventname": "testPF__e",
        "name": "",
        "x": 394,
        "y": 256,
        "wires": [
            [
                "3aabc83.4119638"
            ]
        ]
    },
    {
        "id": "46e7834f.2dc5dc",
        "type": "template",
        "z": "f1b0324f.3d005",
        "name": "",
        "field": "payload",
        "fieldType": "msg",
        "format": "handlebars",
        "syntax": "plain",
        "template": "{\n  \"deviceId__c\":\"xxxxxx1\",\n  \"body__c\"\"{\\\"ke1\\\":\\\"val1\\\",\\\"key2\\\":\\\"val2\\\"}\",\n  \"timestamp__c\": 1512442614321,\n  \"isDeath__c\" : false\n}",
        "output": "json",
        "x": 306,
        "y": 96,
        "wires": [
            [
                "3a1e0c54.823234"
            ]
        ]
    },
    {
        "id": "a140012d.ca6cb",
        "type": "salesforce-platform-event-config",
        "z": "",
        "name": ""
    }
]
  • Publish Result

Publish Result

  • Susbscribe Result

Susbscribe Result

  • Salesforce Platform Event Setting

Platform Event

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.8
    9
    • latest

Version History

Package Sidebar

Install

npm i node-red-contrib-salesforce-platform-event

Weekly Downloads

8

Version

0.1.8

License

Apache-2.0

Last publish

Collaborators

  • high-u