I want to automate something that we manually handle now, which is the assignment of IPA user filters for management. For inbasket users tasked with HR-oriented actions, we assign a filter key called "HRSUPER" and a category value that matches their supervisor code on HR07.
To ensure a clean slate with each update and remove old managers from the user set-up in IPA, I figured on deleting the this key and value from all with the HRSUPER key before re-adding. I played around with the initial Landmark transaction node and seem to be getting good results from the multi-record query, but then in the nested Landmark transaction to delete, where I pull in the results for UserProfile and UserCategory, it breaks down. The values I employ for TaskName and TaskType don’t reflect what I enter, yet the FilterKey works.
Landmark:LMTxn9760 Application Error com.lawson.rdtech.type.DoesNotExistException: User Category does not exist.
PfiUserProfile=user, (real value not shown)
PfiTask.TaskName=,
PfiTask.TaskType=0,
PfiUserCategory=filter, (real value not shown)
PfiFilterKey=HRSUPER