Skip to content

The autoscript dbc callout class is not able to integrate the autoscript based on the initializeValue event of attribute launchpoint #2

@isarere

Description

@isarere

Hello @jvenhuizen ,
According to our test, the dbc callout doesn't accept the autoscript which are based on the initializeValue event of attribute launchpoint.

By looking into the class io.sharptree.maximo.dbmanage.ScriptLaunchPoint
In function validate, a ! was missing in front of initializeValue

if (launchPointType.equalsIgnoreCase("ATTRIBUTE")) {
            if (!initializeAccessRestriction && initializeValue && !validate && !retrieveList && !runAction) {
                throw new Exception("For an attribute launch point one of the follow must be true: initializeAccessRestriction, initializeValue,validate,retrieveList or runAction");
            }
        }

Thanks for your help

Best regards,
Wei HUANG

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions