What Happens When You Create a Compensate Activity

If a scope activity has a compensation handler defined inline, then the name of the activity is the name of the scope to be used in the compensate activity. The syntax is shown in the following example:

<compensate scope="ncname"? standard-attributes>
    standard-elements
  </compensate>