Showing results for 
Search instead for 
Did you mean: 

[SAP-MDK] CallFunction action (or rule) sends data as null at second request

0 Kudos

Hey experts, what's new?

We're developing a feature in our application that needs to send to the backend an email and an ID.

We are using a rule to send that data using the clientAPI method 'callFunction', as you can see below. For this moment, we're hardcoding the data just to see it on the server logs.

At first, the data is sent and we can get it on the backend, but in the second or more time, the data is sent as null.

We are sending attached some screenshots that you can use to understand better.

But, to simplify, we are just clicking on a button that triggers the function 'sendEmail' and this function calls the callFunction method and, then, the action that sends the queue to the server.

Is this unexpected behavior a bug or this is, in truth, expected?

P.S.: we've tried also with callFunction action.


Accepted Solutions (0)

Answers (1)

Answers (1)

Product and Topic Expert
Product and Topic Expert
0 Kudos

I would suggest you turn on Mobile Network Tracing in Mobile Services and capture the message header and message body for both requests to confirm what was actually sent. You can also turn on tracing in the MDK client to capture more detailed logs as well.