AgileShapes / Premier Extension |
This AgileShape can be used to update the runtime value(s) of one or more custom process attributes. When using this shape, you specify the name(s) of one or more custom process attributes, and associate a snippet/fragment of C# code with each attribute name. At runtime, each snippet will be executed/evaluated to determine the value that will be assigned to the associated custom process attribute.
This AgilePart essentially allows you to create and embed a simple custom AgilePart in your process, without actually having to create, name, compile, deploy, or register the AgilePart.
Field Name | Definition |
---|---|
Configuration |
This property allows the process modeler to configure the code snippet(s) that will be invoked at runtime, as well as the custom process attribute(s) that the return value(s) of the snippet(s) will be stored in. Click the Ellipses button to open the configuration dialog. After clicking the Add button, entering an attribute name and a code snippet, and then clicking the View Code button, the dialog might look like this: ![]() Note: The Create or Update Custom Attributes
configuration dialog is not intended as a complete replacement for Visual
Studio.NET. It is recommend that you create a C# project that you can use as a
"scratch pad" so that you have full access to Intellisense and other built-in
tools while constructing your snippets. This will help in avoiding simple
syntax mistakes and other errors.
|
The properties of the basic AgilePart AgileShape are also included in this AgileShape. For more information, see AgilePart.