Retieve output for two different datatypes
hi,
I am using 2 diffrent data objects to set up the rules in the decision manager. I am trying to retrieve the result using REST API and i am not able to get the output.
TestDO1 and TestDO2 are the 2 dataobjects created.
Data obejcts contains string and integer parameters.
Tyring the below query :
{
"lookup": "ksession",
"commands": [
{
"get-objects": {
"out-identifier": "results"
}
},
{
"insert": {
"out-identifier": "sample",
"return-object": true,
"object": {
"com.test.firsttest.TaskDO1": {
"empAge": 20,
"empSalary": 20000,
"empType": "PERM"
}
}
}
},
{
"insert": {
"out-identifier": "obj",
"return-object": true,
"object": {
"com.test.firsttest.TaskDO2.result": {}
}
}
},
{
"fire-all-rules": {
"out-identifier": "fired_rules"
}
}
]
}
Thanks,
Amith