Legacy Dev Forum Posts

 View Only

Sign Up

Architect Play Audio inconsistency for retrieved Salesforce Data

  • 1.  Architect Play Audio inconsistency for retrieved Salesforce Data

    Posted 06-05-2025 18:47

    Duncan_Stewart | 2017-11-02 15:38:25 UTC | #1

    I've built out a call flow that alternately retrieves & submits data with Salesforce, and the last step I'm working on is confirming the results via Play Audio modules/nodes. Through configuration changes to the Salesforce Contact, different data is collected, and although the transactions are correct in Salesforce, the data values appear to be null when I get to the audio for one configuration (audio skips over those steps), while the other config reads the values out fine.

    The same webservice / Action combination is involved, and I know some of the data is coming back because I'm getting the 'success' value back for the flow decisions.

    I'll take another look at both sides of the Action; perhaps null data values in some of the fields are causing an issue ..?


    ChrisDibble | 2017-11-02 16:46:05 UTC | #2

    Hi Duncan,

    If it's consistently failing for a specific input, I'd start by running your action in test mode and looking at the output (remember to check the 'Flatten' checkbox). Then you can see if the action is returning null for any of the fields.

    If that's the case, you have a coupe options. If you require the fields to be populated before your architect flow can proceed, you can update your action contract to mark the fields as required. That would cause the action to fail if any required field came back as null. Otherwise you's have to handle the possible nulls in the architect flow.

    -Chris


    Duncan_Stewart | 2017-11-02 17:45:18 UTC | #3

    I did test the Action again, and sure enough, there are a number of 0's coming back; no nulls. The audio wasn't saying 'zero', though - it was just blank.

    But yes, looks like the webservice needs to be tweaked - so much for nailing down one path only to find the other path just sort of ... fails. :frowning:

    I'll post back when I have more info (and hopefully the solution :D


    Duncan_Stewart | 2017-11-02 20:47:27 UTC | #4

    Okay, user error. Still referencing previous action. headdesk


    system | 2017-12-03 20:47:40 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 2052