128k views
0 votes
The initial value for a number field on a record is 1. A user updated the value of the number field to 10. This action invokes a workflow field update, which changes the value of the number field to 11. After the workflow field update, an update trigger fires.

a. Null
b. 11
c. 1
d. 10

User Rashad
by
3.0k points

2 Answers

5 votes

Final answer:

The final value of the number field after a user update and a workflow field update would be 11. No additional actions by the update trigger are specified.

Step-by-step explanation:

The question is asking what the final value of a number field on a record would be after several actions have been performed on it. Initially, the number field is set to 1. A user then updates this value to 10, which triggers a workflow that modifies the field value to 11. Finally, an update trigger fires. Since the workflow has already changed the field value to 11 and there's no information provided about what the update trigger does, the current value just after the trigger fires would still be 11.

User Shivan Dragon
by
3.3k points
4 votes

Answer: b. 11

Step-by-step explanation:

//The initial value is 1

//let call the value as x

x = 1

//then the user updated the value to 10

//so now x is 10

x = 10

// and update the workflow to 11

//so now the value of x is 11

x = 11

even if the programmer print x, so the output will be 11

User Beyarkay
by
3.4k points