202k views
2 votes
You have added a page list property named Dependents to a view in the Case Designer. This page list contains the property .Relationship. You want to display the list in the view and populate a field with the default value of Not Applicable. How do you configure the pySetFieldDefaults data transform to meet this requirement?

a) By adding a when condition to Dependents
b) By using a declarative expression
c) By invoking a flow action
d) By specifying a value in the pySetFieldDefaults

User NineWasps
by
8.4k points

1 Answer

4 votes

Final answer:

To display the page list named Dependents and set the default value of the .Relationship property to 'Not Applicable', specify the default value directly in the pySetFieldDefaults data transform, with no need for when conditions, declarative expressions or invoking flow actions.

Step-by-step explanation:

To configure the pySetFieldDefaults data transform to set a default value for a field in a page list you would do the following:

  • Navigate to the pySetFieldDefaults data transform.
  • Add a new row for the Dependents page list property.
  • Since you are dealing with a page list, you must specify the index for the list item you want to set the default for or use a method to apply it to all items if that's the intent.
  • For each Dependents page list item, set the .Relationship property to the default value 'Not Applicable'.

You do not need to add a when condition use a declarative expression or invoke a flow action for this requirement. Simply specifying the value in the data transform is sufficient.

User Tomas Dermisek
by
7.9k points