Hi Everybody, we are encountering an issue with process models exposed as web se

Hi Everybody, we are encountering an issue with process models exposed as web services. We notice that for process variables that are not parameters, the default values we assign them are not being used when the process is initiated by web service request.

If we initiate the process within Appian with a process launcher our default values are assigned as expected. It is only when launching the process through web service that we notice our default values are not being assigned.

The simplest work around is to have a script node to assign our default values at the start of the process.

We are currently using Appian v7.6...

OriginalPostID-119461

OriginalPostID-119461

  Discussion posts and replies are publicly visible

Parents
  • It seems the feature of evaluating expressions in default values is not compatible with the mechanism to start processes published as web services. You can make all your default values non-expressions by removing the = for those where you can and move the ones that really need expressions to a script task.

    The reference number for this behavior to be changed and let the expressions evaluate is AN-55333.

    Eduardo Fuentes
    Appian Technical Support
Reply
  • It seems the feature of evaluating expressions in default values is not compatible with the mechanism to start processes published as web services. You can make all your default values non-expressions by removing the = for those where you can and move the ones that really need expressions to a script task.

    The reference number for this behavior to be changed and let the expressions evaluate is AN-55333.

    Eduardo Fuentes
    Appian Technical Support
Children
No Data