Process Flow - AGS HR11 To delete a userfield

 7 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
timbomom
Advanced Member Send Private Message
Posts: 28
Advanced Member
I can't find any samples on how to DELETE a userfield in Processflow with an AGS call.  I assume I need to use HR11 because I can't get PA52 with a personnel action to work.  Thanks in advance.
Bob Canham
Veteran Member Send Private Message
Posts: 217
Veteran Member
I don't think you can use HR11 because there isn't a position to field to advance the page. you should be able to create a Personnel action and do the update on PA52. You would need to send the value as *BLANK to get it to clear the value.
timbomom
Advanced Member Send Private Message
Posts: 28
Advanced Member
That doesn't work, blanks are not allowed in the userfield.  The userfield is defined as a Y or N.  Sometimes it should be completed deleted.  I can't change the allowable values. 

I can delete the userfield if I use the portal and HR11 with a 'D' in the FC.  I want to replicate this in the processflow.

Thanks for your time.  Any suggsetions would be appreciated!
David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
You would have to know the field number value for this particular user field. If you update your user fields, this value could change.
David Williams
timbomom
Advanced Member Send Private Message
Posts: 28
Advanced Member
Thanks.  I don't want to update it, I want to delete it.  Use a DELETE action.  Thanks again.
timbomom
Advanced Member Send Private Message
Posts: 28
Advanced Member
Thanks, I understand what to do now. I use a personnel action and PA52 and set the new value to *BLANK. That seems to delete it.
Kyle Jorgensen
Veteran Member Send Private Message
Posts: 122
Veteran Member
Userfields that have defined values CAN be deleted via PA52 by changing the value to "*blank". I just tried it.
Do you have this particular userfield marked as 'required' on HR10.4?
If so, then by deleting it you're only going to cause errors in the future because the application will complain about a missing value for a required field.
timbomom
Advanced Member Send Private Message
Posts: 28
Advanced Member
Thanks Kyle and all for responding.  I did what you suggested and it worked.  Thanks again!