在 collibra 中定义和使用变量来安排工作流程
Defining and using the variable to schedule the workflow in collibra
目前计时器事件在工作流代码中嵌入了这个 Cron 作业配置-
<timerEventDefinition>
<timeCycle>0 58 16 1/1 * ? *</timeCycle>
</timerEventDefinition>
我希望将其作为工作流程概述页面上的可配置 属性。
我试图解决计时器主配置中的表达式 属性 但没有成功。
知道怎么做吗?
谢谢。
您是否尝试过在您的工作流中定义一个可读错误的起始表单变量?然后在你的时间周期中 属性 你可以使用 ${} 这样的表达式 然后你可以在 DGC 的工作流定义中管理 cron 表达式。
**Start Form Variable Example:**
Id = cronExpressionVariable
type = string
Default = 0 58 16 1/1 * ? *
Required = false
Readable = false
Writeable = true
Then in the timer, set the Time Cycle = ${cronExpressionVariable}
然后您可以维护工作流定义中的值,而无需更新工作流本身。
目前计时器事件在工作流代码中嵌入了这个 Cron 作业配置-
<timerEventDefinition>
<timeCycle>0 58 16 1/1 * ? *</timeCycle>
</timerEventDefinition>
我希望将其作为工作流程概述页面上的可配置 属性。 我试图解决计时器主配置中的表达式 属性 但没有成功。 知道怎么做吗?
谢谢。
您是否尝试过在您的工作流中定义一个可读错误的起始表单变量?然后在你的时间周期中 属性 你可以使用 ${} 这样的表达式 然后你可以在 DGC 的工作流定义中管理 cron 表达式。
**Start Form Variable Example:**
Id = cronExpressionVariable
type = string
Default = 0 58 16 1/1 * ? *
Required = false
Readable = false
Writeable = true
Then in the timer, set the Time Cycle = ${cronExpressionVariable}
然后您可以维护工作流定义中的值,而无需更新工作流本身。