nerdexam
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)
  • A
    13% (4)
  • B
    77% (24)
  • C
    6% (2)
  • D
    3% (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.

Full AD0-E331 Practice