1

我正在创建流程让 usertask 包含从Form Builder创建的表单,如何在流程中保留此 JSON?

它应该在扩展选项卡中创建属性,并且在启动过程时表单应该重新加载 JSON 属性值?

有例子我可以跟进吗?

流程图

已创建表单

JSON 生成:

{
components: [
{
    input: true,
    tableView: true,
    inputType: "text",
    inputMask: "",
    label: "First Name",
    key: "firstName",
    placeholder: "Enter your first name",
    prefix: "",
    suffix: "",
    multiple: false,
    defaultValue: "",
    protected: false,
    unique: false,
    persistent: true,
    validate: {
        required: false,
        minLength: "",
        maxLength: "",
        pattern: "",
        custom: "",
        customPrivate: false
    },
    conditional: {
        show: false,
        when: null,
        eq: ""
    },
    type: "textfield",
    $$hashKey: "object:14",
    autofocus: false,
    hidden: false,
    clearOnHide: true,
    spellcheck: true
},
{
    input: true,
    tableView: true,
    inputType: "text",
    inputMask: "",
    label: "Last Name",
    key: "lastName",
    placeholder: "Enter your last name",
    prefix: "",
    suffix: "",
    multiple: false,
    defaultValue: "",
    protected: false,
    unique: false,
    persistent: true,
    validate: {
        required: false,
        minLength: "",
        maxLength: "",
        pattern: "",
        custom: "",
        customPrivate: false
    },
    conditional: {
        show: false,
        when: null,
        eq: ""
    },
    type: "textfield",
    $$hashKey: "object:15",
    autofocus: false,
    hidden: false,
    clearOnHide: true,
    spellcheck: true
},
{
    type: "button",
    theme: "primary",
    disableOnInvalid: true,
    action: "submit",
    block: false,
    rightIcon: "",
    leftIcon: "",
    size: "md",
    key: "submit",
    tableView: false,
    label: "Submit",
    input: true,
    $$hashKey: "object:18",
    autofocus: false
}],
display: "form",
page: 0

});

4

0 回答 0