Skip to main content

#Fields In Agile Accelerator0 人正在讨论

We recently refreshed our development org and I am trying to upload some new work (unrelated to Agile Accelerator) to the org. I am running all tests on validation and getting a number of error messages on a number of ADM classes. Here are a few of the error message:

 

ADM_AgeOfWorkTests | testTotalAgeWhenClosed | System.DmlException: Update failed. First exception on row 0 with id a2V8H000000B8dyUAC; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, When Status = Closed, the following fields are required: Deployed Resolution, Release Notes, Scheduled Build: []Stack Trace: (agf)ADM_ApplicationApprover_TriggerTest | testApplicationApproverTrigger | System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [ProfileId]: [ProfileId]Stack Trace: (agf)

 

When looking at the object I can't find any field called ProfileId, or any reference to a ProfileId for a User. Obviously since the package is managed I can't get inside the code to determine where the issue lies.

 

Any help?

 

#Agile Accelerator #Fields In Agile Accelerator #Agile Accelerator App #SF Agile Accelerator #SF Agile Accelerator

1 个回答
0/9000

Auto-populate Fields in Agile Accelerator's Objects

Hello there!

So I have to pre-populate 2 fields in the "Work" object ( Agile Accelerator object)

1. Team field : the field will be pre-populate with the Team object's Name

2. Product owner field: The field will be pre-populate with the user's name that created this "Work"record

When I want to create a work record i click on new and a pop up will appear where i can type in the data. I want the field to be already populate when I click on the new button, not after.

The thing is that those objects are manage by a package/plugin so I can't ready use the traditional flow or quick action ( or I can, I'm not sure).So how can I achieve this goal?

Thank you for your help!!

3 条评论
  1. 2019年9月19日 20:03
    No I mean it already pre-populates it. You never have to enter a team, just the product tag. And adding the tag also pre populates the product owner.
0/9000