Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
System.ConditionExists Component — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

System.ConditionExists Component

Received Response
11
Views
2
Comments
edited Aug 9, 2018 9:21AM in Digital Assistant and Mobile 2 comments

Summary

I am asking why this built-in component always pass to the exists action.

Content

Here how i use it :

conditionExists:
    component: "System.ConditionExists"
    properties:
      variable: "destinDate"
    transitions:
      actions:
        exists: "done"
        notexists: "askForTripType"

Always it take the action of exists wich is "done"  here. this is my payload where the "destinDate"  variable is null but the component act like it's not. 

"destinAir":"MIR",
"user.botsUserError":false,
"profile.locale":"fr-FR",
"destinDate":null,
"profile.timezoneOffset":-7200000,
"tripType":null,
"profile.firstName":"Ameur",
"departAir":"CDG",
"departDate":{  
   "date":1534582854109,
   "entityName":"DATE",
   "originalString":"08/18/2018"
},
"system.processedUserMessage":true
},
"currentDialogState":"done"

Any idea please  

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!