Cancelled state doesn't exist in dropdown list in BR

Nataliia_Lova
Tera Guru
Who can explain why the "Cancelled" state isn't to be able to be chosen in the dropdown list in the mark_closed business rule, when in the Choice list table dictionary it is? How can I set it to?
Screenshot 2024-01-25 at 16.18.19.png
Screenshot 2024-01-25 at 16.25.02.png
2 ACCEPTED SOLUTIONS

Since your business rule exists in the Global scope and your choice field exists in the scoped application hence you are not able to access the choice in the business rule. I recommend creating the business rule in the scoped application and you will be able to access the cancelled choice.

 

Hope this helps.

View solution in original post

@Nataliia_Lova Are you calling a TaskStateUtil in your business rule? If yes then use global specifier prior to TaskStateUtil e.g. global.TaskStateUtil

 

Hope this helps.

View solution in original post

9 REPLIES 9

Sandeep Rajput
Tera Patron
Tera Patron

@Nataliia_Lova Can you check of the choice Cancelled was created in a scoped application?

Yes, it was

Screenshot 2024-01-25 at 16.40.59.png

Screenshot 2024-01-25 at 16.56.33.png

Since your business rule exists in the Global scope and your choice field exists in the scoped application hence you are not able to access the choice in the business rule. I recommend creating the business rule in the scoped application and you will be able to access the cancelled choice.

 

Hope this helps.