Pedro Escaleira
Pedro Escaleira
@ricardozanini @gmunozfe @wmedvede @fjtirado could you take a look into this PR when you have the time? :)
> @oEscal You need to take into account [PR](https://github.com/apache/incubator-kie-kogito-runtimes/pull/4014) which I bet you did not know it exist. > > This PR added support for $WORKFLOW.statusCode and $WORKFLOW.statusMessage. > >...
> @oEscal Thats precisely what Im suggesting to do, you can access the last headers the same way you can access the last error code, through the WORKFLOW context, which...
@fjtirado, before creating the IT tests, was it something like this that you were looking for?
This implementation is still a draft, as I think some tests should be created. Moreover, it uses the implementation from #3939 and #3927.
The main comment for the PR is in the [quarkus/addons/knative/serving/deployment/src/main/java/org/kie/kogito/addons/quarkus/knative/serving/deployment/customfunctions/KnativeTypeHandler.java](https://github.com/apache/incubator-kie-kogito-runtimes/pull/3939/files#diff-8b04eb106db8ad8ef53349ddda2e092626646db2a3a9d6e5a1e8fdf23724d65f) file. The other modifications in the PR allow for injecting any headers and queries from the previous state or action....
Thank you for your response @aleneum I was thinking about [completion transitions](https://www.uml-diagrams.org/state-machine-diagrams.html), where the transition happens right after the completion of the previous state's behavior. Therefore, since the trigger is...
Maybe here there is a good graphical example: https://d-nb.info/1175470252/34. As the text explains, the transition from AmountEntry to Giving Money is a completion transition and, therefore, does not have any...