Skip to main content
Solved

Workspace doesn't use parameter

  • November 7, 2021
  • 3 replies
  • 21 views

mathiku
Supporter
Forum|alt.badge.img+8

Child workspace is using a published parameter (integer) in a RasterExpressionEvaluator.

The parameter is sent from a WorkspaceRunner.

Translation fails with a fatal error. From log:"

2021-11-07 13:01:35|  0.5| 0.0|ERROR |RasterExpressionEvaluator_3 (RasterEvaluationFactory): Failed to parse the EXPRESSION_LIST clause. 'A[0]' was successfully parsed, but '-/10' could not be parsed. Please ensure that your syntax is correct"

 

The evaluated expression was supposed to be: A[0]- $parameter/10, but is left blank.

Best answer by gazza

Try using a ParameterFetcher to fetch the published parameter into an attribute and then use the attribute instead.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

gazza
Contributor
Forum|alt.badge.img+6
  • Contributor
  • Best Answer
  • November 7, 2021

Try using a ParameterFetcher to fetch the published parameter into an attribute and then use the attribute instead.


mathiku
Supporter
Forum|alt.badge.img+8
  • Author
  • Supporter
  • November 8, 2021

Try using a ParameterFetcher to fetch the published parameter into an attribute and then use the attribute instead.

Thank you - although it feels a bit like duct-taping a brand new Porsche it does the trick.


gazza
Contributor
Forum|alt.badge.img+6
  • Contributor
  • November 8, 2021

Thank you - although it feels a bit like duct-taping a brand new Porsche it does the trick.

I've got a feeling this is a known issue that has recently been fixed.