10000 MVEL expressions: Variable name/ Json params consists of keywords · Issue #4 · imona/tutorial · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
MVEL expressions: Variable name/ Json params consists of keywords #4
Open
@venkatesh8

Description

@venkatesh8

I have a dynamic object name which generated dynamically and which consists of reserved keywords
get_requested_for = create_ticket_for_user.output.result["RequestedFor"]
MVEL is throwing invalid expression error
Reason: the object "create_ticket_for_user" consists of "for" keyword and in the inner object result also consist of "RequestedFor" key. What is the solution to skip the validation in mvel expression validation. how to neglect the Reserved keywords in MVEL expression.
Use case scenarios:
if I use below keywords the expression validation fails:

  1. for
  2. while
  3. until
  4. system

Is there any solution exists?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects
    30F1

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0