9.102 GET_PROCESS_ATTR
Gets attributes of a process definition, that is being edited within an edit session, previously started using the START_PROCESS_EDIT Built-In Function.
Attributes set or returned by this Built-In Function have the same editing and validation rules as the equivalent online facility provided in a full LANSA development environment.
This is a very specialized area that requires very good knowledge of the LANSA product. Use of this Built-In Function in a commercial application (e.g. Order Entry) is not normal and should not be attempted.
This is a Specialized Built-In Function for use in a Development Environment only.
Arguments
No | Type | Req/ Opt | Description | Min Len | Max Len | Min Dec | Max Dec |
|---|---|---|---|---|---|---|---|
1 | A | Req | Name of attribute to get Valid attribute names are: DESC- Process Description TYPE- Process Type OPTCOM - Optimize for remote comms ENAWEB - Enable for the Web ENAXML - Enable for XML Generation TOTFUN - Total associated functions EXISTS - Checks for existence of function name specified in bytes 7 to 13 of argument (directly following the EXISTS string in bytes 1 to 6). | 1 | 50 |
Return Values
No | Type | Req/ Opt | Description | Min Len | Max Len | Min Dec | Max Dec |
|---|---|---|---|---|---|---|---|
1 | A | Req | Return code OK = operation completed | 2 | 2 | ||
2 | A | Req | Returned process attribute For attribute DESC: The process description up to 40 characters in length. For attribute TYPE: For attribute OPTCOMM: For attribute ENAWEB: For attribute ENAXML: For attribute TOTFUN: Character 3 value containing a number in the range 000 - 990. For attribute EXISTS: | 1 | 256 |