Save Click on Variable List tab and add a variable:
Variable Name: attrvalue
Type: String
Description: value to be prepopulated
Map To: Resolve at runtime
Save Click on Adapter Tasks and click Add
Logic Task
SET VARIABLE
Adapter return value = attrvalue
Save and click Build 2. Go Back to Form Designer and find the process form
Create a new version and click on Pre-populate tab.
For each field that you want to prepopulate add the prepop adapter;
Eg:
Field Name: EndDate
Rule:Default
Adapter: OID Prepop String
Order: 1
Map the variable to the User Definition ->EndDate
Do the same for all other fields.
Make the new version of the form ACTIVE. 3. Go to access policy, Remove the resource form and add it back.as it will pick up the new form version in the access policy. 4. At this point, the adapters should be firing when the access policy provisions the resource and the values from the user definition will be in the process form.