1
0
-1

Hi guys, I need a help,

Figure above is my customized inbox, it's a inbox for approver to approve the request. But all of them is past requested and already approved. I need a help how to remove it without affecting the data inside, for example, I just want to clear it in the inbox, while the data is still stored in another datalist.

Thank you in advanced.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      You said that you are using a customized inbox, without telling us how customized it is or how different from the vanilla's version, this is the best answer that I can think of.

      I don't see any control field that determines the state of your "request". If there's one, you can filter the datalist inside datalist builder. Example

      e.customProperties.statusFieldId = 'New'

      This way, right at the dataset building level, we can return what's mattered.


      1. Izzuddin Pauzi

        Basically this system, to approve the request, the approver needs to click at the IP Number and it will hyperlink to a approve status page, exactly the same like what the default inbox did. The thing is, everything above is request that already approved, how can I make it disappear from the table. I tried using the code you gave above but its not working, perhaps u can explain to me more about it. thank you in advance!

      2. Walter

        You will need to feed more details here on how you customize your inbox or what error your datalist builder is giving. In the default inbox, task will only appear when the person is assigned to it. Maybe you should not assign the task to the user when it is deemed to be Approved?

      3. Joel Rives

        Walter, how does a task get assigned to a user? In my application, all users see the same list of tasks. I, too, would like to remove unwanted tasks from the list.

      CommentAdd your comment...