Message |
[+]
Engagement Designer
» REST Trigger Custom Event?, 26/07/2018 14:52:07
» Go to message
|
|
Json,
I don't know where you are trying to get the temperature date from, but I do that all the time using the methods in my video.
If have an IoT platform that can send POST messages when certain criteria are met (e.g. temperature > 90). I configure the platform to send those POSTs to Breeze. Based in the POST body, breeze associates POSTs with an Event. I then have a Snap-In that starts based on that Event.
|
|
[+]
Engagement Designer
» Unable to compare dates, 26/07/2018 12:43:34
» Go to message
|
|
I had to do something very similar in one of my workflows and had to write a dynamic task to do it. It's pretty easy once you get into Java.
|
|
[+]
Engagement Designer
» Cannot get Password Property to work, 23/07/2018 16:36:01
» Go to message
|
|
I already do that. In fact, if I wasn't doing it, a password property within the task itself would fail upon execution. I decrypt those just fine.
I will take another look and add some debug to see if I can figure out what isn't working.
|
|
[+]
Engagement Designer
» REST Trigger Custom Event?, 23/07/2018 14:54:54
» Go to message
|
|
|
|
[+]
Engagement Designer
» Cannot get Password Property to work, 20/07/2018 14:28:24
» Go to message
|
|
Any update on this? Is it a bug?
|
|
[+]
Engagement Designer
» Struggling with JSON respresenation of variable, 16/07/2018 13:44:39
» Go to message
|
|
Yes, the JSON from ServiceNow has true in quotes (I included the received JSON in my first post). I failed to see that.
Thanks for the help.
|
|
[+]
Engagement Designer
» Struggling with JSON respresenation of variable, 16/07/2018 13:03:53
» Go to message
|
|
I have tried aivalues["result"][0][u_active_2]:true and aivalues["result"][0][u_active_2:true]. Both tell me "Unexpected token : "
|
|
[+]
Engagement Designer
» Struggling with JSON respresenation of variable, 16/07/2018 12:32:12
» Go to message
|
|
I am trying to create a variable for this JSON:
{"result":[{"u_active_2":"true","u_phone_1":"2305"}]}
I built:
{"title":"aivalues","type":"object","properties":{"result":{"type":"array","items":{"type":"object","properties":{"u_phone_1":{"type":"string"},"u_active_2":{"type":"boolean"}}}}}}
But I get a run-time exception when I try to access u_active_2 like this:
aivalues["result"][0]["u_active_2"]
I am told that String is incompatible with Boolean.
I tried a n number of other gyrations, but nothing works. Can someone help me understand what the right variable expression should be? Thanks!
|
|
[+]
Engagement Designer
» Cannot get Password Property to work, 16/07/2018 07:37:11
» Go to message
|
|
|
|
[+]
Engagement Designer
» Cannot get Password Property to work, 13/07/2018 10:12:03
» Go to message
|
|
I created a workflow with a task that requires a password. I created a Password Property and use Input Mapping to map it to the task's password property (which is a password-type property). The deployed snap-in fails on login to the service. I go back to the task, remove the mapping, and replace it with a directly typed password into the task. I see the series of dots to indicate that this is a password field. The deployed snap-in can successfully login into the service.
Is there something special I need to do to handle a mapped Password Property?
|
|
[+]
Avaya Breeze
» Should jsquery library be on 3.4 collaboratory (lab 181)?, 02/06/2018 22:34:34
» Go to message
|
|
I did find that I can load it with "https://code.jquery.com/jquery-1.4.2.min.js." I think I am good to go for now.
|
|
[+]
Avaya Breeze
» Should jsquery library be on 3.4 collaboratory (lab 181)?, 02/06/2018 15:07:33
» Go to message
|
|
I am writing a snap-in that uses the index.jsp that comes in the archetype. I want to use ajax in that file, but I am finding that the jsquery library is not on the server (or is not loading). Should it be? I previously did this same thing on a 3.2 lab and it worked.
The reference in my index.jsp file is:
<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
My code fails when I do this:
var request = $.ajax({....
I receive a "$ is not defined" exception.
Should I be using a different library?
Also, I tried this, but I still get the exception.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
|
|
[+]
Engagement Designer
» Context Store Update problem, 08/03/2018 15:33:55
» Go to message
|
|
Thanks. We could have ended this thread a long time ago if I saw this. :-)
|
|
[+]
Engagement Designer
» Context Store Update problem, 07/03/2018 13:05:25
» Go to message
|
|
Thank you. For testing purposes, 60 seconds is exactly what I want. When I move my text bot into production, it will increase.
I was able to find the problem. As you suspected, the data passed into the Update task wasn't formatted the way the tasked wanted it. I have corrected that and my text bot is up and running.
|
|
[+]
Engagement Designer
» Context Store Update problem, 07/03/2018 09:44:13
» Go to message
|
|
Milliseconds? Your documentation says seconds:
Context lease time (seconds): The time, in seconds, the information will be stored in the Context Store.
|
|