diff --git a/packages/basic.gblib/services/DialogKeywords.ts b/packages/basic.gblib/services/DialogKeywords.ts index 6355fdff..795a0077 100644 --- a/packages/basic.gblib/services/DialogKeywords.ts +++ b/packages/basic.gblib/services/DialogKeywords.ts @@ -567,8 +567,8 @@ export class DialogKeywords { } } - public static async getOption({ pid, name }) { - if (this.isUserSystemParam(name)) { + public static async getOption({ pid, name, root=false }) { + if (this.isUserSystemParam(name) || root) { throw new Error(`Not possible to retrieve ${name} system param.`); } let { min, user, params } = await DialogKeywords.getProcessInfo(pid);