Current()
Characteristic | Description |
---|---|
Icon | |
Availability | Repeating study events, repeating forms, and repeating sections. |
Return type and description | Returns the current instance of the repeating study object. |
Syntax | NameOfStudyObject.Current( ) |
Parameters | No parameters. |
Example | If form RefName is ConMed: ConMed.Current( ) |
Best practices for workflow rules and global conditions | To create a workflow rule or global condition that uses a repeating study object's current instance to determine if the conditions of the rule are satisfied, Oracle recommends that you use Current() only when a single instance exists. When there are multiple instances of the repeating study object, the method cannot determine which instance is current, so the workflow rule or global condition might not work as expected. If there are multiple instances of the repeating study object, consider using an array of the repeating study object, using the IsValueInArray function. In the expression, Oracle recommends checking whether the array has any values before using it for comparison. |
Copyright © 2013 Oracle and/or its affiliates. All rights reserved. |
---|