Description
Gets the https response header from the previous webservice call.
Signature
GetVarHeaderValue('headername')
Example
The example below uses a SAS key name/value pair to find and process a message in a queue named 'n52bpa'. It uses the function GetVarHeaderValue to retrieve the https response header. It is then deleted by AzureServiceBusDeleteMessage.
SmartFlow( AzureServiceBusPeekLockMessage( 'https://n52bpa-sb-north52v2.servicebus.windows.net/n52bpa/messages/head', 'RootManageSharedAccessKey', 'HKutpMU25diCyJyl5X0BO5sYw8nfkx6gI1VyppEFAI22', 'https://n52bpa-sb-north52v2.servicebus.windows.net' ), Setvar('messageid', GetVarJsonValue('MessageId', '', GetVarHeaderValue('BrokerProperties')) ), Setvar('locktoken', GetVarJsonValue('LockToken', '', GetVarHeaderValue('BrokerProperties')) ), /*Do your processing steps here*/ AzureServiceBusDeleteMessage( 'https://n52bpa-sb-north52v2.servicebus.windows.net/n52bpa/messages/' + GetVar('messageid') + '/' + GetVar('locktoken'), 'RootManageSharedAccessKey', 'HKutpMU25diCyJyl5X0BO5sYw8nfkx6gI1VyppEFAI22', 'https://n52bpa-sb-north52v2.servicebus.windows.net' ) )
Parameters
Name | Type | Description | Required |
---|---|---|---|
fromdate | xxxx | xxxx | xxxx |
todate | xxxx | xxxx | xxxx |
interval | xxxx | xxxx | xxxx |