Sample
The following sample shows how to use the opening ID.
/* ---- input ---- */
Let InputSystemOccurrence(ProdSystemOccurrence) /* Input System/Operation Occurrence */
Let RequestButtonVisibleStateOnly(Boolean) /* RequestButtonVisibleState flag */
/* ---- output ---- */
Let IsButtonVisible(Boolean)
Let ListOfResources(List)
/* ---- RETRIEVE INPUT PARAMETERS ---- */
RequestButtonVisibleStateOnly = false
if ( true == Parameters.HasAttribute("RequestButtonVisibleStateOnly") )
set RequestButtonVisibleStateOnly = Parameters.GetAttributeBoolean("RequestButtonVisibleStateOnly")
if ( true == Parameters.HasAttribute("InputSystemOccurrence") )
set InputSystemOccurrence = Parameters.GetAttributeObject("InputSystemOccurrence")
/* ---- CODE ---- */
/* CUSTOMER CODE SHOULD BE HERE */
/* ---- FILL OUTPUT PARAMETERS ---- */
if ( true == Parameters.HasAttribute("OutputIsButtonVisible") )
{
set IsButtonVisible = false /* HERE : set to "true" to see the suggestions list button */
Parameters.SetAttributeBoolean("OutputIsButtonVisible", IsButtonVisible)
}
if ( true == Parameters.HasAttribute("OutputListOfResourceReferences") )
{
Parameters.SetAttributeObject("OutputListOfResourceReferences", ListOfResources)