Views:

Description

Sends a message to Azure Event Grid. 

Signature

AzureEventGridSendMessage('eventgrid endpoint', 'eventgrid key' . 'message')

Example

SmartFlow(

  SetVar('message', 
    CreateJArray(
      CreateJObject(
        CreateJProperty('topic', ''),  
        CreateJProperty('subject', 'Change of city'),  
        CreateJProperty('id', GenerateGuid()),  
        CreateJProperty('eventType', '4'),  
        CreateJProperty('eventTime', UTCDateTime()),  
        CreateJProperty('data', '{"name":"John Grace",
          "contactid":"3b52475a-a044-4e23-9e4c-d709ff2ab886",
          "city":"New York"}'),  
        CreateJProperty('dataVersion', ''),  
        CreateJProperty('metadataVersion', '1')))),

  AzureEventGridSendMessage('https://testeventgrid.northeurope-1.eventgrid.azure.net/api/events',
    'QslwpHOSh4UQ5q/El1ZW+r1/lFV88jPtMu3g3/OJrD22',
    GetVar('message') )
)

 

Parameters

Name Type Description Required
fromdate xxxx xxxx xxxx
todate xxxx xxxx xxxx
interval xxxx xxxx xxxx