Error message when creating new resource assignment "Either a resource or attribute is mandatory"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 04:07 AM
Hi all, can someone help me with the error message which I am getting when I am creating new resource assignment?
Steps to reporoduce, follow the steps on screenshot and press new. Fill out the data and press save, then "Either a resource or attribute is mandatory" appears together with Invalid value on insert. After I choose the resource I am getting new error: Resource assignment cannot be created or updated because xxx xxx is not available.
.
Version: Xanadu patch3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 11:31 AM
I'm constantly getting this same error. SN needs to do SO much better with their documentation. This is not explained ANYWHERE that I can find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 02:04 PM
Validate Resource availability BR on Resource assignment is where the error is coming from. I tried to follow it down a rabbit hole of script includes, but I cannot figure out what it is actually looking for to determine user capacity. SN needs to address this in their documentation, but if anyone else wants to try to figure out what table is being queried at the lowest level and what is coming back maybe we can do SN's job for them in a much more difficult way.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2024 09:00 PM
I came up against same issue. I looked in script include 'RMUsersCapacityAPISNC' that is called by Business rule 'Validate Resource availability'.
Found a few references to Employee Profile where script was using employee profile data to work out capacity..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 10:23 AM
Thanks, that worked, but what in the script indicated a call to sn_employee_profile?