Skip to main content

Context: Ive created a task that creates agreements. A few fields are mandatory and some are not.

Mandatory: Supplier, Description, Year, Startdate, Enddate, type and managers.

There's functionality written in order to automaticly determine the startdate and enddate. For instance. when inserting 2023, startdate becomes 1-1-2023 and endate becomes 31-12-2023. 

There's also functionality written to determine the managers based on the first selected supplier.

 

Problems: 

  1. Can't close my task popup if execute is clicked but the mandatory fields are not supplied.
  1. Year functionality stopped working on start and enddate, now I need to select dates manually.

Gif of the behavior below.

Steps to reproduce:

  1. Create bonus agreement
  2. Fill in Supplier 1, no multiple suppliers (category and assistant category manager will be filled in)
  3. Fill in Description
  4. Click Execute (all error messages for fields that are not filled in will appear here)
  5. Fill in Year
  6. Click Cancel - this does not work
  7. Fill in start and end date (this is problem 2)
  8. Choose bonus agreement type - the Create bonus agreement window disappears

What would solve my problem?:

Being able to cancel my pop after bugging it. I want this to work as expected (meaning you can click cancel even when it bugged)

How can I achieve this?

Gif:

@Dennis1690 Are you by any chance also using “Input constraints” on one or more Domains in that task?

That could be the same issue as mentioned here:


This offers no solution yet, but at least you might be aware what is the cause and perhaps are able to avoid the use for now.

If not this, than ignore my answer as it is something else that causes your issue.


@Mark_Plaggenborg Thank you for your response. I checked all task variables domains and none of them uses input constraint. 


@Dennis1690 

Are you using the latest version of the Universal GUI? If so, you might want to create a ticket for this so the problem can be investigated properly. If not, you might want to upgrade to the latest version of the Universal GUI to check whether the problem still occurs.

Kind regards,

Renée


Since you reported this as a ticket I will close this topic.