Widgets
Custom Steps
1.1.0
Custom Steps

Anwendungscode
let current := this;
let list := first(select Pipelines).'Pipeline Steps';
let data := {
uniqueId: "Pipeline 1",
settings: {
height: "200px",
colorLabel: "",
fontSizeLabel: "",
colorValue: "",
borderColor: "#ffffff",
backgroundColor: "#ffffff",
align: "center",
showStepsConnection: true
},
steps: list.[{
card: 1,
title: Bezeichnung,
value: 'Schritt-Nummer',
subtitle: "",
colorValue: if number(current.'Pipeline Step') >= 'Schritt-Nummer' then
"#ffffff"
else
"#999999"
end,
backgroundColor: if number(current.'Pipeline Step') >= 'Schritt-Nummer' then
"#4970ff"
else
"#cccccc"
end,
actions: [{
recordId: current.Nr,
type: "update",
field: "K",
value: "test",
headerAction: true
}]
}]
};
arcCustomSteps(data)