| Previous | Next |  | Contents | Index | Glossary

## VoteCount

PL/SQL Syntax

`procedure VoteCount`

      (gid in number,

       ResultCode in varchar2,

       ResultCount out number,

       PercentOfTotalPop out number,

       PercentOfVotes out number);

Java Syntax

`public static WFTwoDDataSource voteCount`

        (WFContext wCtx,

         BigDecimal nid,

         String resultCode)

Description

Counts the number of responses for a specified result code.

Use this procedure only if you are writing your own custom Voting activity. See: Voting Activity.

Arguments (input) | wCtxWorkflow context information. Required for the Java method only. See: Oracle Workflow Context.
gid | The notification group id.
ResultCode | Result code to be tallied.

| Previous | Next |  | Contents | Index | Glossary