Dynamic Workflow Condition Evaluation in Forge

I want to use the jira:workflowCondition module in my Forge app and be able to decide whether an issue should pass the condition based on some data retrieved from an API or Forge storage.

It seems that we can either define a hardcoded expression in the manifest file or we can override the expression from JavaScript code during the configuration of the condition. However, once set, the expression remains static. Is there a way to dynamically change the expression every time it is evaluated based on some retrieved data?

On Connect, we are using the passesCondition method inherited from the AbstractJiraCondition class and we do some calculations every time the passesCondition method is called. I need a similar thing with Forge.