Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • FirebaseUDR
  • FirebaseErrorResult

FirebaseUDR

When the Firebase agent receives a FirebaseUDR, it sends out a request with data to each device in the pushTokens list.

...

Info
titleExample - Generated message from Body and Title fields

APL:

Code Block
consume {    
	FirebaseUDR firebaseUDR = udrCreate(FirebaseUDR);
	firebaseUDR.title = "DigitalRoute";
	firebaseUDR.message ="Every bit counts.";
	list <string> myList = listCreate(string, "key","key");
	firebaseUDR.pushTokens= myList;
	udrRoute(firebaseUDR);
}


FirebaseErrorUDR

If the Firebase agent receives a response from Firebase that contains an error, this will be logged and a FireBaseErrorUDR will be sent back to the workflow.

...

Field
Description
errorMessage (list<string>)This field contains the result code of the attempt to send a push notification; 0 - OK, 1 - Rejected, 2 - Timed out, or 3 - Error.
Message (string)

This field contains a descriptive text for each result code:

0 - Empty
1 - Message from Apple describing reason for rejection
2 - Timeout
3 - Content of any exception that has occurred

initialUDR (FirebaseUDR(Firebase))This field contains the original FirebaseUDR that the agent received.


Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse


Next subsection: