Getting error Cannot find matching method java.util.Date#format(java.lang.String, java.util.TimeZone — Cloud Customer Connect
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

Getting error Cannot find matching method java.util.Date#format(java.lang.String, java.util.TimeZone

Summary:

Getting below error for one of the Groovy scripts in Groovy Script Validator. But we can validate and run the rule without issues

Cannot find matching method java.util.Date#format(java.lang.String, java.util.TimeZone

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):


25.08.72


Code Snippet (add any code snippets that support your topic, if applicable):


List<String> BDB_Entity = getMembers('Entity', "@IDescendants ("Total Entity")",cube_BDB)
List<String> BDB_Planning_Partner = getMembers('Planning Partner', "@REMOVE (@Relative ("Total Planning Partner",0),@LIST ("No Planning Partner"))",cube_BDB)

/* transform the list in a string list is in this format [foo1],[foo2],...,[foon] --> foo1,foo2,...,foon*/

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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