Task ownership error on dyamicLink

Hi all,

We have a Record with a link to a Task, when the user clicks the link he can see the Task even if he is not a member of the Group to which the task was assigned to. Everything is disabled. This is expected.

However, the Task has a grid with short comments and DynamicLinks. When the user clicks on the Dynamic Link the long version of the comment should be displayed below the grid. If the user is not part of the Group assigned to the Task, then an error message appears: "Task cannot be sent. You are now the owner of this Task" Is this expected? How can we solve it? Adding the user to the relevant Groups is not an Option because the user should not have the task on the My Tasks list.

Was this working ok on previous Versions of Appian? We think it was fine in Appian 7.9 (our previous Version)

  Discussion posts and replies are publicly visible

Parents
  • Hi,

    Assume that you have two groups Group1 Group2 and three users uer1,user2,user3
    user1 and user2 are members of group1 and user3 is member of group3
    Lets assume in task grid their are 3 tasks
    task1 assigned to group1
    task2 assigned to group2
    task3 assigned to group1
    if user1 logged in only task1 and task3 should be Process Task Link and for task2 it should be Dynamic Link,for this write if logic logic for link field(use isusermemberofgroup() ).

    example : 

    if(
    isusermemberofgroup(
    loggedInUser(),
    groupID
    ),
    a!processTaskLink(
    task :task
    ),
    a!dynamicLink(
    saveInto: {
    a!save(
    local!message,
    true()
    )
    }
    )
    )

    if user clicks on Dynamic Link take a local variable (by default false ) and make it as true,if this local variable is true show a message below the grid by using Rich Text.

Reply
  • Hi,

    Assume that you have two groups Group1 Group2 and three users uer1,user2,user3
    user1 and user2 are members of group1 and user3 is member of group3
    Lets assume in task grid their are 3 tasks
    task1 assigned to group1
    task2 assigned to group2
    task3 assigned to group1
    if user1 logged in only task1 and task3 should be Process Task Link and for task2 it should be Dynamic Link,for this write if logic logic for link field(use isusermemberofgroup() ).

    example : 

    if(
    isusermemberofgroup(
    loggedInUser(),
    groupID
    ),
    a!processTaskLink(
    task :task
    ),
    a!dynamicLink(
    saveInto: {
    a!save(
    local!message,
    true()
    )
    }
    )
    )

    if user clicks on Dynamic Link take a local variable (by default false ) and make it as true,if this local variable is true show a message below the grid by using Rich Text.

Children
No Data