Adobe
AD0-E331 · Question #40
What is the scope of a workflow variable defined in a "JavaScript" activity?
The correct answer is B. It is local to the current workflow instance.. Variables defined in a "JavaScript" activity are instance variables, meaning they are accessible throughout the current workflow instance.
Workflow Development and Management
Question
What is the scope of a workflow variable defined in a "JavaScript" activity?
Options
- AIt is global to all workflows.
- BIt is local to the current workflow instance.
- CIt is local to the "JavaScript" activity in which it is defined.
- DIt depends on how the variable is declared.
How the community answered
(31 responses)- A13% (4)
- B77% (24)
- C6% (2)
- D3% (1)
Explanation
Variables defined in a "JavaScript" activity are instance variables, meaning they are accessible throughout the current workflow instance.
Topics
#workflow variables#JavaScript activity#variable scope#instance variables
Community Discussion
No community discussion yet for this question.