on 04-26-2007 8:53 PM
Folks,
We have an ISR form and our requirement is to lock some form fields for certain role . e.g budget guys will have access to budget fields , HR data will have access to HR fields only. So I need to understand when the form is in workflow how to know who is approver , or budget person or HR person so that we can lock fields in the form.
Thanks,
Manish
Hi Manish,
I too had a similar requirement like based on the level, part of the Adobe forms are EDITABLE. Like for First level of approval, the SUBFORM1 is editable. and for Second level of approval, the SUBFORM2 is editable.
For this, I had taken one characteristic named LEVEL, and before my WF Approval Task in Workflow, I had updated my LEVEL characteristic from the workflow itself. And I added a script to all fields in my form like
if($record.LEVEL.DATA.FIELD == "1")
then
this.access = ""
else
this.access = "readOnly"
endif
Hope this should solve your problem.
Regards
<i><b>Raja Sekhar</b></i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Write the code in the Badi to check if the curent form processor is an HR/ budget guy. (by checking the respective tables.)
Now set a flag in the ISR characteristics.
Write the script in the Form Designer for each field if the flag is set to say H for HR, F for Finanacial etc.
This is one way which i can think of. You may think to get more creative alternative options for this.
Do try it. I had implemented this before.
Kindly update if this is helpfull.
Thanks and Regards,
Anto.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.