Message |
[+]
Engagement Designer
» Dynamic task checkbox, 13/09/2019 01:19:16
» Go to message
|
|
Thank you, Anurag, will try!
So, the checkbox returns value of type string, not boolean, correct?
"type": "string",
"controlType": "checkbox"
checked == "true", unchecked = "false" as an argument to setRemoveDashes.
|
|
[+]
Engagement Designer
» Dynamic task checkbox, 12/09/2019 10:13:09
» Go to message
|
|
For dynamic task, how could I get boolean value if property control type is "checkbox" (checked -> true, unchecked -> false)?
"properties": [
{
"name": "RemoveDashes",
"displayPropName": "Remove Dashes",
"type": "string",
"controlType": "checkbox",
"modelName": "setRemoveDashes",
"mapping": "removeDashes"
}
]
public class GetRandomModel extends BpmNode {
public GetRandomModel(String name, String id) {
super(name, id);
}
private Boolean removeDashes;
public boolean getRemoveDashes() {
return removeDashes;
}
public void setRemoveDashes(boolean removeDashes) {
this.removeDashes = removeDashes;
}
...
I've tried to use the following, but it does not work:
public class GetRandomExecution extends NodeInstance {
public GetRandomExecution(Instance instance, BpmNode node) {
super(instance, node);
}
public Object execute() throws Exception {
GetRandomModel getRandomModel = (GetRandomModel) getNode();
boolean removeDashes = getRandomModel.getRemoveDashes();
Unfortunately, no samples in documentation - neither for checkbox, nor for button control types.
Thank you!
|
|
[+]
Avaya Breeze
» Breeze REFER with replaces handling architecture, 31/03/2017 12:20:41
» Go to message
|
|
Trying to make a basic (attended) transfer for 2 SM users (71193 and 71191) with Breeze profile assigned, to a CM H.323 station (11072). These users do not have CM profiles.
First call, 71193 calls 71191 through CM:
SIP Station 71193 – [Call ID 1] – Breeze – [Call ID 2] – Communication Manager VDN – [Call ID 3] – Breeze – [Call ID 4] – SIP Station 71191
Second call, 71191 calls 11072:
SIP Station 71191 – [Call ID 5] – Breeze – [Call ID 6] – Communication Manager (H.323 station 11072)
After 11072 answers, 71191 initiate REFER with replaces towards 71193, and Refer-To contains “Replaces = Call ID 5”.
SIP Station 71191 – [Call ID 4, REFER 71193, “Replaces = Call ID 5”] – Breeze – [Call ID 3, REFER 71193, “Replaces = Call ID 5”] – Communication Manager
Refer is received by Communication Manager for Call ID 5, which it’s not aware of, and refer fails.
My understanding is Breeze intentionally keeps Refer-To header unmodified during REFER handling.
What is an idea behind that, and how should such transfer work? Is it supported?
Legend for the attached trace:
10.22.127.201 – 71193
10.22.127.202 – 71191
172.22.240.12 – SM
172.22.240.19 – Breeze
172.22.240.13 – CM
Breeze SDK 3.2.0.1.320111. Snap-in does not use a media server, and in general just allows the call (Call.Allow using Java SDK).
Thank you!
Best regards,
Dmitry Romanov.
|
|