Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

Use Groovy to run business rule for Consolidation and Translation

edited Jun 18, 2021 6:40AM in Financial Consolidation and Close 5 comments

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":"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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