1 Reply Latest reply: Jun 7, 2012 9:04 AM by DJ RSS

    Creating a Role view in a workflow

    DJ
      I'm trying to create a role view in my workflow with the following code but it gives me an error: com.waveset.util.InternalError: Unable to locate ViewHandler for 'role'.
      <Action application='com.waveset.session.WorkflowServices'>
                  <Argument name='op' value='createView'/>
                  <Argument name='type' value='Role'/>
                  <Return from='view' to='view'/>
                </Action>
      Has anyone created a role from a workflow, java or SPML?
        • 1. Re: Creating a Role view in a workflow
          DJ
          nvm figured it out.

          <Action id='0' application='com.waveset.session.WorkflowServices'>
                    <Argument name='op' value='createView'/>
                    <Argument name='type' value='Role'/>
                    <Argument name='viewId' value='Role'/>
                    <Argument name='Form' value='Empty Form'/>
                    <Argument name='authorized' value='true'/>
                    <Return from='view' to='role'/>
                  </Action>