I created a service and added a transient attribute to an entity that is used to exchange data. I saw in Studio that the rule test gets it back from the server. To be sure of the transient's origin I checked the server log and saw that the transient data element was actually in the return XML.
That made me wonder how transient works. I thought that transient attributes are to Corticon what private is to programming languages.
Ollie,
This is optional. Whether to return transients in the result is controlled by a property in the request:
returnTransients="true"
Internally they are equivalent to private variables. A transient set as the first step in a ruleflow is accessible by the last step in a ruleflow. The "transient" nature of an attribute is meta-data that Corticon tracks. A transient is otherwise like any other attribute.
Jim
Ollie,
This is optional. Whether to return transients in the result is controlled by a property in the request:
returnTransients="true"
Internally they are equivalent to private variables. A transient set as the first step in a ruleflow is accessible by the last step in a ruleflow. The "transient" nature of an attribute is meta-data that Corticon tracks. A transient is otherwise like any other attribute.
Jim
Flag this post as spam/abuse.