Not able to navigate screens in site

I have a process model with 3 screens. I have created one site with process model mapped to that page. I complete work on first page then it goes to user to accept tasks. Can i get this accept task function in site? After accepting the task it should go to next page in site but i keep getting next tasks in m tempo not in site. It is working fine in tempo. I need to see all screens in site one by one. Can you please help me with that. Please let me know if more info is required

  Discussion posts and replies are publicly visible

Parents Reply Children
  • code for predefined filter in task report tutorial link is throwing error. Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!dropdownField [line 19]: A dropdown component [label=“Status”] has an invalid value for “value”. Value cannot be null.

    Below is the code 

    a!localVariables(
     local!statusFilter: null,
      local!taskStatuses: {
        "Assigned",
        "Accepted",
        "Completed",
        "Not Started",
        "Cancelled",
        "Paused",
        "Unattended",
        "Aborted",
        "Cancelled By Exception",
        "Submitted",
        "Running",
        "Error"
      },
     a!sectionLayout(
       contents:{
         a!dropdownField(
           label: "Status",
           placeholder: "Pick a status",
           choiceLabels: { "Assigned", "Accepted", "Completed", "Not Started" },
           choiceValues: enumerate(4),
           value: local!statusFilter,
           saveInto: local!statusFilter
         ),
          a!gridField(
            label: "My Tasks",
            instructions: "A list of all tasks for the current user",
            labelPosition: "ABOVE",
            data: a!queryProcessAnalytics(
              report: cons!MY_TASKS_REPORT,
              query: a!query(
                pagingInfo: fv!pagingInfo,
               filter: a!queryFilter(
                   field: "c5",
                   operator: "=",
                   value: local!statusFilter,
                   applyWhen: not(
                      isnull(
                        local!statusFilter
                      )
                    ),
                 ),
              ),
            ),
            columns: {
              a!gridColumn(
                label: "Name",
                sortField: "c0",
                value: a!linkField(
                  links: a!processTaskLink(
                    label: fv!row.c0,
                    task: fv!identifier
                  )
                )
              ),
              a!gridColumn(
                label: "Process",
                sortField: "c3",
                value: fv!row.c3
              ),
              a!gridColumn(
                label: "Status",
                sortField: "c5",
                value: a!forEach(
                  items: fv!row.c5,
                  expression: if(
                    not(isnull(fv!row.c5)),
                    fn!index(
                      local!taskStatuses,tointeger(fv!item)+1,"Other"
                    ),
                    tostring(fv!item)
                  )
                )
              )
            },
            rowHeader: 1
          )
       }
     )
    )
  • 0
    A Score Level 1
    in reply to monikas0003

    Try this 

    a!localVariables(
      local!statusFilter:null,
      local!taskStatuses: {
        "Assigned",
        "Accepted",
        "Completed",
        "Not Started",
        "Cancelled",
        "Paused",
        "Unattended",
        "Aborted",
        "Cancelled By Exception",
        "Submitted",
        "Running",
        "Error"
      },
      a!sectionLayout(
        contents: {
          a!dropdownField(
            label: "Status",
            placeholderLabel: "Pick a status",
            choiceLabels: {
              "Assigned",
              "Accepted",
              "Completed",
              "Not Started"
            },
            choiceValues: enumerate(
              4
            ),
            value: local!statusFilter,
            saveInto: local!statusFilter
          ),
          a!gridField(
            label: "My Tasks",
            instructions: "A list of all tasks for the current user",
            labelPosition: "ABOVE",
            data: a!queryProcessAnalytics(
              report: cons!MY_TASKS_REPORT,
              query: a!query(
                pagingInfo: fv!pagingInfo,
                filter: a!queryFilter(
                  field: "c5",
                  operator: "=",
                  value: local!statusFilter,
                  applyWhen: not(
                    isnull(
                      local!statusFilter
                    )
                  ),
                  
                ),
                
              ),
              
            ),
            columns: {
              a!gridColumn(
                label: "Name",
                sortField: "c0",
                value: a!linkField(
                  links: a!processTaskLink(
                    label: fv!row.c0,
                    task: fv!identifier
                  )
                )
              ),
              a!gridColumn(
                label: "Process",
                sortField: "c3",
                value: fv!row.c3
              ),
              a!gridColumn(
                label: "Status",
                sortField: "c5",
                value: a!forEach(
                  items: fv!row.c5,
                  expression: if(
                    not(
                      isnull(
                        fv!row.c5
                      )
                    ),
                    fn!index(
                      local!taskStatuses,
                      tointeger(
                        fv!item
                      ) + 1,
                      "Other"
                    ),
                    tostring(
                      fv!item
                    )
                  )
                )
              )
            },
            rowHeader: 1
          )
        }
      )
    )