Use Groovy to run business rule for Consolidation and Translation
Content
I'm trying to use groovy to automate the data load and translation process. However, I can't find effective way to run the FCCS Translate business rule.
I try to use the EPBCS way to run business rule. However, the translate rule is not run.
HttpResponse<String> jsonResponse = operation.application.getConnection("JOBS").post()
.body(json(["jobType" : "Rules", "jobName" : "Translate",
"parameters":
[
"Currency":"CAD_Reporting",
"Scenario":"Actual",
"Entity":"FCCS_Total Geography",
"Years":"$Selected_Year",
"Period":"$Selected_Period"
]
])).asString()
The response from job consol is
Log messages :
Selected Period: May-21
{"descriptiveStatus":"Completed","jobName":"FCCS_RuleValidate_PostProcess_Consol","jobId":222,"details":"","status":0,"links":[{"rel":"self","href":"