Workflow tracing on waveset

Hi,
When we perform any actions on Admin interface, some workflow will get executed and every step executed by workflow executor on this Workflow gets written into a files named "true" and "false" in my home directory!!!
These files are too huge. But I'm not sure how to stop this tracing/workflow steps getting redirected to some file. All parameters in Waveset.properties file are set to false and workflow trace option is disabled in system configuration file also.
Any idea??

jc,
with flow trace-ip, you can see the TCP or UDP packets coming and going out the CSS.
Also, this command does not display all the packets.
We only see the ones that are process-switched.
A better solution would be to use a sniffer trace in front of the CSS and in the backend side.
You can also check the 'sho ether-error' commands to see if any problem is
detected by the CSS.
If there is other switches, like Cisco catalyst, use 'sho interface' or 'sho port
to check for CRC errors.
Regarding your problem, if you have a lot of connections and some of them stays idle for 15 seconds, the CSS might drop them to free resources.
What you usually see in this case is a RESET being sent by the CSS to the client.
One solution to this problem is the flow port timeout command to increase the default 15 seconds timer.
In conclusion, I would suggest to capture a sniffer trace in front of the CSS and see if you have RST.
Hope this will help.
Gilles.

Similar Messages

  • Troubleshooting Approval workflow issues

    We are getting this message from time to time and are unsure how to troubleshoot it.
    It seems as though something is changing the document, what is the best way to figure out what?
    Approval on DOCUMENT NAME has ended because the item that the task process is running on was changed.

    Hi Daniel,
    1.What message do you get?
    2. Look in the Workflow History list, eg "http://sp2013/Lists/Workflow History". Do you find any errors in there?
    3. Is the user account starting the workflow correctly synchronized in the user profile database?
    4. Is the user account starting the workflow different from the Worflow Manager setup account? (more info at
    http://technet.microsoft.com/en-us/library/jj658588.aspx#section7)
    5. Are the User Profile Service and App Management Service started? See the green frames in the screenshot below, taken from Central Administration \ Manage Services on Server.
    6.Are the App Management Service Application and User Profile Service Application started? Their proxies should be started as well. See the green frames in the screenshot below, taken from
    Central Administration \ Manage Services on Server.
    For troubleshooting sharepoint workflow issues, you can have a look at the blog:
    https://technet.microsoft.com/en-in/library/cc298927%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    http://blogs.msdn.com/b/vincent_runge/archive/2014/01/07/troubleshooting-actions-for-sharepoint-2013-workflows.aspx
    http://ranaictiu-technicalblog.blogspot.com/2013/03/sharepoint-2013-workflow-debugdiagnosis.html
    https://infopathandsharepointdesigner.wordpress.com/2013/12/13/five-top-tips-for-troubleshooting-sharepoint-workflows/
    http://blogs.technet.com/b/victorbutuza/archive/2009/02/26/how-to-enable-workflow-tracing-debug.aspxBest
    Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Can we call a workflow form a JSP and/or form a Java Class?

    Is it possible to call a workflow form a JSP and/or form a Java Class?

    Below is some xpress code I wrote once, used to dynamically lauch workflows from within a workflow. Since it basically uses java classes, you reuse these in your java program or jsp:
    - create a new generic object
    - call the setId, put, ... methods on it
    - set the input variables for the workflow by putting them into the generic object
    - call the checkinView method on a LighthouseContext object which launches your workflow.
    If all you need is starting a workflow from a jsp, you might also want to take a look at the tasks/taskLaunch.jsp jsp. This is an out of the box jsp which allows launching of tasks. If I remember correctly you have to give an url parameter which specificies the name of task you want to start: tasks/taskLaunch.jsp?id=<workflow-name>
    - Robin
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE TaskDefinition PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <TaskDefinition name="MVG_TD_LaunchWorkflow" taskType="Workflow" executor="com.waveset.workflow.WorkflowExecutor" suspendable="true" syncControlAllowed="true" execMode="sync" execLimit="0" resultLimit="0" resultOption="delete" visibility="runschedule" progressInterval="0">
         <Extension>
              <WFProcess name="MVG_TD_LaunchWorkflow">
                   <Variable name="workflowName" input="true"/>
                   <Variable name="taskInstanceName" input="true"/>
                   <Variable name="inputs" input="true"/>
                   <Variable name="processView"/>
                   <Activity name="start">
                        <Transition to="createProcessView"/>
                   </Activity>
                   <Activity name="createProcessView">
                        <Action>
                             <block trace="true">
                                  <set name="processView">
                                       <new class="com.waveset.object.GenericObject"/>
                                  </set>
                                  <invoke name="setId">
                                       <ref>processView</ref>
                                       <s>ProcessViewer</s>
                                  </invoke>
                                  <invoke name="put">
                                       <ref>processView</ref>
                                       <s>task.process</s>
                                       <ref>workflowName</ref>
                                  </invoke>
                                  <invoke name="put">
                                       <ref>processView</ref>
                                       <s>task.taskName</s>
                                       <ref>taskInstanceName</ref>
                                  </invoke>
                                  <if>
                                       <notnull>
                                            <ref>inputs</ref>
                                       </notnull>
                                       <then>
                                            <invoke name="assimilate">
                                                 <ref>processView</ref>
                                                 <ref>inputs</ref>
                                            </invoke>
                                       </then>
                                  </if>          
                             </block>
                        </Action>
                        <Transition to="checkInProcessView"/>
                   </Activity>
                   <Activity name="checkInProcessView">
                        <Action>
                             <block trace="true">
                             <invoke name="checkinView">
                                  <invoke name="getLighthouseContext">
                                       <ref>WF_CONTEXT</ref>
                                  </invoke>
                                  <ref>processView</ref>
                                  <new class="java.util.HashMap"/>
                             </invoke>
                             </block>
                        </Action>
                        <Transition to="end"/>
                   </Activity>
                   <Activity name="end"/>
              </WFProcess>
         </Extension>
         <MemberObjectGroups>
              <ObjectRef type="ObjectGroup" id="#ID#Top" name="Top"/>
         </MemberObjectGroups>
    </TaskDefinition>

  • Workflow from form

    I am trying to initiate a workflow from a form. I have seen several posts in the forums and confusing. I have a form called example user form. In that form I have placed a button. I want as soon as I press the button; test workflow should initiate. Workflow should open another form 'Empty Form'
    Now as per forums I have created the workflow 'Test Workflow' with these 2 activities as below -
    <!--  MemberObjectGroups="#ID#Top" createDate="Mon Jun 12 12:17:38 CDT 2006" id="#ID#7544524B68A1C1D9:4789E350:10BB9306919:-7FE9" name="Test Workflow" visibility="runschedule"-->
    <TaskDefinition id='#ID#7544524B68A1C1D9:4789E350:10BB9306919:-7FE9' name='Test Workflow' creator='Configurator' createDate='1150132658734' lastModifier='Configurator' lastModDate='1150731476953' lastMod='79' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
      <Form objectLocationID='isBegin=true&objectID=%23ID%237544524B68A1C1D9%3A4789E350%3A10BB9306919%3A-7FE9&objectPath=10&objectType=TaskDefinition'>
        <Include>
          <ObjectRef type='UserForm' name='Example Form'/>
        </Include>
        <FormRef name='Example Form'/>
      </Form>
      <Extension>
        <WFProcess name='Test Workflow' maxSteps='0'>
          <Activity id='0' name='activity1'>
            <ManualAction id='0' name='Form Start' syncExec='true'>
              <FormRef>
                <ObjectRef type='UserForm' id='#ID#UserForm:ExampleViewForm' name='Example Form'/>
              </FormRef>
            </ManualAction>
            <Transition to='activity2'/>
            <WorkflowEditor x='168' y='161'/>
          </Activity>
          <Activity id='1' name='start'>
            <Transition to='activity1'/>
            <WorkflowEditor x='122' y='36'/>
          </Activity>
          <Activity id='2' name='activity2'>
            <ManualAction id='0' syncExec='true'>
              <FormRef>
                <ObjectRef type='UserForm' id='#ID#Form:EmptyForm' name='Empty Form'/>
              </FormRef>
            </ManualAction>
            <Transition to='end'/>
            <WorkflowEditor x='324' y='161'/>
          </Activity>
          <Activity id='3' name='end'>
            <WorkflowEditor x='324' y='315'/>
          </Activity>
        </WFProcess>
      </Extension>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
      </MemberObjectGroups>
      <Properties>
        <Property name='editorOriginalName' value='Test Workflow'/>
      </Properties>
    </TaskDefinition>--------------------------------------------------------------
    Now in the exapmple form how do I specify that upon pressing the button; this workflow should be initiated. Below is the button definition in 'example Form' -
    <Field name='New wf link'>
      <Display class='Button' action='true'/>
      <Expansion>
        <s>'Test Workflow'</s>
      </Expansion>
    </Field>---------------------------
    Not sure what am I missing or how to configure this ?

    Hello Ketan,
    thanks again so much for your response.
    I wasn't sure if you preferred that I reply you on the Forum, or via email, since you wrote down your email address.
    In response to your question..........I am not really sure how the Form is mapped. I customized the Form basically for one thing only : to CREATE USER.
    What I did was : I copied the original IDM "Create User" form, modified it the way I wanted it, and imported it back into the Repository.
    So, now, I have a fully-functional, customized form, for creating Users.
    This form contains the original "Buttons" at the end : SAVE, CANCEL, TEST, etc.
    I have no idea if it should be mapped anywhere. And, if it should, I don't know how to do this.
    When the Form is completed, and I press SAVE, everything happens at it should. The Form is saved, the new User is created.
    However, I want other things to happen, too. This is why I am so stuck on creating Workflows.
    Let me give you an example :
    For instance, the following simple script is part of my User Form (selection from a dropdown menu) :
    <Field name='orderlunch'>
    <Display class='Select' action='true'>
    <Property name='title' value='Order Lunch'/>
    <Property name='allowedValues'>
    <List>
    <String>- Please Select -</String>
    <String>Yes</String>
    <String>No</String>
    </List>
    </Property>
    </Display>
    </Field>
    A small XML code, to indicate an order for lunch.
    Naturally, if the user selects "No", then nothing happens.
    But, if he selects "Yes", then I would like the Form to send an Email Notification to the appropriate person, notifying him that lunch has been ordered. (of course, I would need to indicate such things as WHO ordered the lunch, WHEN, etc, etc. But, I will get into that later)
    In other words, if I choose "YES" for that particular variable, and then I press SAVE, to save and submit the form, then I want the Workflow to send an email notification.
    I am guessing that, the code in the Workflow will be something like the following (Please, correct me if I am wrong)
    *<eq>*
    *<ref>orderlunch</ref>*
    *<s>YES<s>*
    *</eq>*
    ----- Create a new activity ----
    *<Action id='0' application='com.waveset.provision.WorkflowServices'>*
    *<Argument name='op' value='notify'/>*
    *<Argument name='template' value='Name of Email Template'/>*
    *<Argument name='toAddress' value='toaddress'/>*
    *<Argument name='smtpHost'>*
    *<ref>SMTPhost</ref>*
    *</Argument>*
    *<Argument name='from'>*
    *<ref>from address</ref>*
    *</Argument>*
    *</Action>*
    Is this correct?
    Please, help me out here.
    Thanks again

  • Per account workflow not being executed

    I am trying to run a per account workflow,
    so that when a user in a Resouce(Authoritative source) gets deleted,
    during reconciliation the per account workflow should get executed there by disabling all the resource accounts for the user .
    I added the following workflow int the 'Per account workflow' tab of my reconciliation policy
    my reconciliation runs sucessfully however i do not see any changes in the users account , it seems the Workflow is not getting executed..
    The code for the workflow is as below
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE TaskDefinition PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <!--  MemberObjectGroups="#ID#Top" createDate="Fri Feb 24 18:31:31 PST 2006" id="#ID#BC7431C56D947D4E:194DF96:1099F0627CB:-7FFB" name="Custom Workflow" visibility="runschedule"-->
    <TaskDefinition id='#ID#BC7431C56D947D4E:194DF96:1099F0627CB:-7FFB' name='Custom Workflow' lock='Configurator#1141081471234' creator='Configurator' createDate='1140834691093' lastModifier='Configurator' lastModDate='1140843754062' lastMod='96' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
      <Extension>
        <WFProcess name='Custom Workflow' maxSteps='0'>
          <Variable name='userName' input='true'/>
          <Variable name='accountId' input='true'/>
          <Variable name='loginApplication' input='true'/>
          <Variable name='resource' input='true'/>
          <Activity id='0' name='start'>
            <Transition to='Disable User'>
              <eq>
                <ref>initialSituation</ref>
                <s>AR_SITUATION_NAME_DELETED</s>
              </eq>
            </Transition>
            <WorkflowEditor x='56' y='225'/>
          </Activity>
          <Activity id='1' name='Disable User'>
            <Variable name='WF_ACTION_ERROR'/>
            <Variable name='user'/>
            <Action id='0'>
              <expression>
                <set name='user.resourceAccounts.selectAll'>
                  <Boolean>true</Boolean>
                </set>
              </expression>
              <Argument name='op' value='disableUser'/>
              <Argument name='accountId' value='$(accountId)'/>
              <Argument name='doWaveset' value='true'/>
            </Action>
            <Transition to='Clear Task Results'>
              <isnull>
                <ref>WF_ACTION_ERROR</ref>
              </isnull>
            </Transition>
            <Transition to='end'/>
            <WorkflowEditor x='362' y='23'/>
          </Activity>
          <Activity id='2' name='Clear Task Results'>
            <Action id='0' application='SET_RESULT_LIMIT'>
              <Argument name='limit' value='0'/>
            </Action>
            <Transition to='end'/>
            <WorkflowEditor x='373' y='224'/>
          </Activity>
          <Activity id='3' name='end'>
            <WorkflowEditor x='564' y='171'/>
          </Activity>
        </WFProcess>
      </Extension>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
      </MemberObjectGroups>
    </TaskDefinition>Can anyone help me with this?

    Hi,
    It could be that the workflow is being executed
    but it is not doing the correct thing.
    Why dont you load the workflow into the debugger,
    set a breakpoint on it and then run reconcilliation.
    That way you will know for sure if the workflow
    is being executed.
    John I

  • Workflow Aproval - Non standard (Problem in the Worklist - bbpbwsp)

    Helo,
    I have build one approval workflow to the process bid invatation. In this workflow i have one task (non-standard) where the user can approve de process.
    The client use de ITS SRM, the worklist used is the BBPBWSP.
    When the Workflow start, the approval task appears in the worklist, but when i execute this task, it is open initial menu SAP. Not using our service Z.... instead /scripts/BBPAPPROVAL/...
    Can anyone help me?

    Hi
    <u>I know the ITS Debugging makes quite a life easy for some of the cases, like this.</u>
    <i>By the way, which SRM version are you using ?</i>
    <u>Anyways, will give you details, how to enable the ITS debugger in your system. Ask your BASIS person to help you out in this case.</u>
    <b>Note 451292 - How to use ITS debugger
    Note 304371 - RFC debugging set in service file BBPUSERMAINT
    Note 392570  - EBP: Required data on the problem processing
    Note 893425 - MIME type with attachments
    Note 954135  - Instructions for debugging workflow activities
    Note 903200 - Workflow tracing for problem detection
    Note 995328 - Extended System Status Information for SAP SRM</b>
    Hope this will help.
    Please reward suitable points, incase it suits your requirement.
    Regards
    - Atul

  • Com.waveset.util.WavesetException: Missing view id; Missing Account ID

    Hi,
    I have some users in IDM provisioned to LDAP.
    I am now trying to find users and delete them thru the end user interface.
    When i enter the ID, and click search, i get this error
    "com.waveset.util.WavesetException: Missing view id.
    Missing Account ID"
    Here is my WF:
    <WFProcess name='Find WF' maxSteps='0'>
         <Activity id='1' name='Start'>
    <Transition to='Accept User ID'/>
    <WorkflowEditor x='43' y='10'/>
    </Activity>
    <Activity id='2' name='Accept User ID'>
    <ManualAction id='0' name='Enter User ID' timeout='60' syncExec='true'>
    <Owner>
    <ref>$(WF_CASE_OWNER)</ref>
    </Owner>
    <FormRef>
    <ObjectRef type='UserForm' id='#ID#CB00E29B1B211E5E:5673384:1141A79B1FE:-7FF3' name='Enter User ID Form'/>
    </FormRef>
    </ManualAction>
    <Transition to='getView'/>
    <WorkflowEditor x='191' y='10'/>
    </Activity>
    <Activity id='3' name='getView'>
    <Action id='0' name='getView' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='getView'/>
    <Argument name='id' value='$(accountId)'/>
    <Argument name='type' value='User'/>
    <Argument name='subject' value='configurator'/>
    <Argument name='authorize' value='true'/>
    <Return from='view' to='user'/>
    </Action>
    <Transition to='Delete User'/>
    <WorkflowEditor x='123' y='73'/>
    </Activity>
    <Activity id='4' name='Delete User'>
    <Action id='0' name='Delete' process='TaskDefinition:Delete User'>
    <Argument name='type' value='User'/>
    <Argument name='accountId' value='$(accountId)'/>
    </Action>
    <Transition to='End'/>
    </Activity>
    <Activity id='5' name='End'>
    <WorkflowEditor x='508' y='10'/>
    </Activity>
    Not sure what the mistake it. Can somebody point out pls?
    Thanks,

    cutepaddy
    Thanks for ur reply. However, it was not of much help.
    The problem now is that, i dont get the suspended case workitems error anymore but, the WF is not doing what it's suppoed to do, i.e., delete the users. The dump shows that all activities and actions are being executed correctly, however, the user still is not deleted. Here are my updated forms and WF
    Form 1:
    Configuration id='#ID#CB00E29B1B211E5E:5673384:1141A79B1FE:-7FF3' name='Accept User ID Form' lock='Configurator#1186027075593' creator='Configurator' createDate='1185855280921' lastModifier='Configurator' lastModDate='1186026775578' lastMod='354' wstype='UserForm'>
    <Extension>
    <Form name='Accept User ID Form' baseContext='variables' objectLocationID='objectName=Accept+Store+ID+Form&isBegin=true&objectPath=0&objectType=UserForm'>
    <Display class='EditForm'>
    <Property name='title' value='Find ID Form'/>
    </Display>
    <Field name='view.waveset.accountId'>
    <Display class='Text'>
    <Property name='title' value='Enter User ID'/>
    <Property name='size'>
    <Integer>20</Integer>
    </Property>
    <Property name='maxLength'>
    <Integer>10</Integer>
    </Property>
    </Display>
    <Validation>
    <cond>
    <not>
    <invoke name='testUser' class='com.waveset.ui.FormUtil'>
    <ref>:display.session</ref>
    <ref>view.waveset.accountId</ref>
    </invoke>
    </not>
    <s>Not Exist</s>
    </cond>
    </Validation>
    </Field>
    <Field name=':complete'>
    <Default>
    <s>true</s>
    </Default>
    </Field>
    </Form>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    <Properties>
    <Property name='editorOriginalName' value='Accept User ID Form'/>
    </Properties>
    </Configuration>
    Form 2:
    <Configuration id='' name='Search Results Form' lock='Configurator#1186027075593' creator='Configurator' createDate='1185855280921' lastModifier='Configurator' lastModDate='1186026775578' lastMod='354' wstype='UserForm'>
    <Extension>
    <Form name='Seach Results Form' baseContext='variables' noDefaultButtons='true'>
    <Display class='EditForm'/>
    <Field name='MatchTable'>
    <Display class='SimpleTable'>
    <Property name='columns'>
    <List>
    <String>Title</String>
    </List>
    </Property>
    </Display>
    <FieldLoop for='accountId' in='view.waveset.accountId'>
    <Field name='XYZ'>
    <Display class='Checkbox'>
    <Property name='Label' value='$(accountId)'/>
    </Display>
    </Field>
    </FieldLoop>
    <Field name='deleteuserbutton'>
    <Field name=':complete'>
    <Default>
    <s>true</s>
    </Default>
    </Field>
    <Field name=':formButton' button='true'>
    <Display class='Button'>
    <Property name='command' value='Save'/>
    <Property name='value' value='Continue'/>
    <Property name='label' value='Delete'/>
    </Display>
    </Field>
    <Field name='formButton'>
    <Expansion>
    <ref>:formButton</ref>
    </Expansion>
    </Field>
    </Field>
    </Field>
    </Form>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    <Properties>
    <Property name='editorOriginalName' value='Accept User ID Form'/>
    </Properties>
    </Configuration>
    WF:
    <TaskDefinition id='#ID#CB00E29B1B211E5E:5673384:1141A79B1FE:-7FDC' name='Find User WF' lock='Configurator#1186881293625' creator='Configurator' createDate='1185857988234' lastModifier='Configurator' lastModDate='1186880993625' lastMod='185' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
    <Extension>
    <WFProcess name='Find User WF' maxSteps='0'>
    <Activity id='0' name='Start'>
    <Transition to='Accept User ID'/>
    <WorkflowEditor x='99' y='47'/>
    </Activity>
    <Activity id='1' name='Accept User ID'>
    <ManualAction id='0' name='Enter User ID' timeout='60' syncExec='true'>
    <Owner>
    <ref>$(WF_CASE_OWNER)</ref>
    </Owner>
    <FormRef>
    <ObjectRef type='UserForm' id='#ID#CB00E29B1B211E5E:5673384:1141A79B1FE:-7FF3' name='Accept User ID Form'/>
    </FormRef>
    </ManualAction>
    <Transition to='Display Results'/>
    <WorkflowEditor x='183' y='45'/>
    </Activity>
    <Activity id='2' name='Display Results'>
    <ManualAction id='0' name='Results' timeout='60' syncExec='true'>
    <Owner>
    <ref>$(WF_CASE_OWNER)</ref>
    </Owner>
    <FormRef>
    <ObjectRef type='UserForm' id='#ID#CB00E29B1B211E5E:-435E4C45:114554237BF:-7F8B' name='Search Results Form'/>
    </FormRef>
    </ManualAction>
    <Transition to='Delete User'/>
    <WorkflowEditor x='266' y='99'/>
    </Activity>
    <Activity id='3' name='Delete User'>
    <Action id='0' name='Delete' process='TaskDefinition:Delete User'>
    <Argument name='type' value='User'/>
    <Argument name='accountId' value='$(view.waveset.accountId)'/>
    </Action>
    <Action id='1'>
    <expression>
    <block name='dump2'>
    <invoke name='dumpFile'>
    <invoke name='getTask'>
    <ref>WF_CONTEXT</ref>
    </invoke>
    <s>c:\dump.xml</s>
    </invoke>
    </block>
    </expression>
    </Action>
    <Transition to='End'/>
    <WorkflowEditor x='411' y='101'/>
    </Activity>
    <Activity id='4' name='End'>
    <WorkflowEditor x='529' y='121'/>
    </Activity>
    </WFProcess>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    <Properties>
    <Property name='editorOriginalName' value='Find User WF'/>
    </Properties>
    </TaskDefinition>
    Thanks in advance for ur help

  • Reset Password Notify altered workflow

    Im trying to alter the Reset User Password workflow to include an email to the user with the new password, however i am having difficulties referencing the variables that contains the new password and the userview in general... Any ideas how to reference correctly would be highly appriciated.
    What i am interested in is the accountId aswell as the new password. My email template contains a whole bunch of tests where non really work... sigh
    The code is below... email template and workflow.
    Template
    =======
    <!--  MemberObjectGroups="#ID#All" name="Reset User Password"-->
    <EmailTemplate name='Reset User Password' createDate='1118729448132' smtpHost='mail.companyXYZ.com' fromAddress='[email protected]'>
      <Comments>&#xA;    Email sent after provisioning has been performed to users that&#xA;    have been registered as "listeners" for an object.&#xA;  </Comments>
      <Variable name='email' value='$(accountId.email)' input='true'/>
      <Variable name='password'/>
      <subject>Password reset occured for $(accountId).</subject>
      <body>Password for $(user.waveset.accountId) have been reset to: $(password)&#xA;&#xA;user: $(waveset.accountId)&#xA;user: $(view.waveset.accountId)&#xA;user: $(user.waveset.accountId)&#xA;user: $(email)&#xA;user: $(waveset.email)&#xA;user: $(user.waveset.email)&#xA;user: $(view.waveset.email)&#xA;&#xA;toAddress: $(toAddress)</body>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#All' name='All'/>
      </MemberObjectGroups>
      <Properties>
        <Property name='editorOriginalName' value='Account Creation Notification'/>
      </Properties>
    </EmailTemplate>Workflow
    =======
    <!--  MemberObjectGroups="#ID#Top" authType="PasswordAdminTask" createDate="Wed Mar 30 11:25:27 CEST 2005" id="#ID#5E148460CA532802:F346DC:102F2C75CB5:-7FCD" name="Reset User Password" taskType="Workflow" visibility="invisible"-->
    <TaskDefinition authType='PasswordAdminTask' id='#ID#5E148460CA532802:F346DC:102F2C75CB5:-7FCD' name='Reset User Password' createDate='1112174727974' lastModifier='Configurator' lastModDate='1117521253514' lastMod='244' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='invisible' progressInterval='0'>
      <Extension>
        <WFProcess name='Reset User Password' title='Reset Password Workflow' maxSteps='0'>
          <Comments>Process launched indirectly by the ResetPassword view.&#xA;        The new passwords have already been stored in the WSUser object,&#xA;        all we need to do here is reprovision.</Comments>
          <Variable name='view' input='true'>
            <Comments>&#xA;          An uncommitted ResetUserPassword view.  This will be passed if the&#xA;          "DeferCommit" option was used when creating the view.&#xA;          The user object in the repository will not be updated&#xA;          when the view is checked in, the workflow receives the view&#xA;          and must call the commitView service.&#xA;        </Comments>
          </Variable>
          <Variable name='options' input='true'>
            <Comments>&#xA;          The GenericObject representation of a ProvisioningOptions object.&#xA;          This may contain complex options for the provisioner.&#xA;&#x9;</Comments>
          </Variable>
          <Variable name='accountId' input='true'>
            <Comments>The name of the Lighthouse user to reprovision.</Comments>
          </Variable>
          <Activity id='0' name='start'>
            <Transition to='Commit'>
              <ref>view</ref>
            </Transition>
            <Transition to='Reprovision'/>
            <WorkflowEditor x='43' y='10'/>
          </Activity>
          <Activity id='1' name='Commit'>
            <Action id='0' application='com.waveset.session.WorkflowServices'>
              <Argument name='op' value='commitView'/>
              <Argument name='view' value='$(view)'/>
            </Action>
            <Transition to='Reprovision'/>
            <WorkflowEditor x='162' y='128'/>
          </Activity>
          <Activity id='2' name='Reprovision'>
            <Comments>&#xA;          Since passwords have all been stored in the WSUser&#xA;          object, all we have to do here is reprovision.&#xA;        </Comments>
            <Action id='0' process='Provision'>
              <Argument name='op' value='reProvision'/>
            </Action>
            <Transition to='email user'/>
            <WorkflowEditor x='203' y='47'/>
          </Activity>
          <Activity id='3' name='email user'>
            <Action id='0' application='com.waveset.provision.WorkflowServices'>
              <Argument name='op' value='notify'/>
              <Argument name='template' value='Reset User Password'/>
              <Argument name='toAddress' value='$(accountId.email)'/>
              <Argument name='accountId' value='$(accountId)'/>
            </Action>
            <Transition to='end'/>
            <WorkflowEditor x='293' y='25'/>
          </Activity>
          <Activity id='4' name='end'>
            <WorkflowEditor x='447' y='35'/>
          </Activity>
        </WFProcess>
      </Extension>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
      </MemberObjectGroups>
      <Properties>
        <Property name='editorOriginalName' value='Reset User Password'/>
      </Properties>
    </TaskDefinition>

    Problem solved!
    Finished code for everyone who wants...
    Workflow
    =======
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE TaskDefinition PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <!--  MemberObjectGroups="#ID#Top" authType="PasswordAdminTask" createDate="Wed Mar 30 11:25:27 CEST 2005" id="#ID#5E148460CA532802:F346DC:102F2C75CB5:-7FCD" name="Reset User Password" taskType="Workflow" visibility="invisible"-->
    <TaskDefinition authType='PasswordAdminTask' id='#ID#5E148460CA532802:F346DC:102F2C75CB5:-7FCD' name='Reset User Password' createDate='1112174727974' lastModifier='Configurator' lastModDate='1117521253514' lastMod='244' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='invisible' progressInterval='0'>
      <Extension>
        <WFProcess name='Reset User Password' title='Reset Password Workflow' maxSteps='0'>
          <Comments>Process launched indirectly by the ResetPassword view.&#xA;    The new passwords have already been stored in the WSUser object,&#xA; all we need to do here is reprovision.</Comments>
          <Variable name='password' value='xxx/>
          <Variable name='user' input='true'>
            <Comments>&#xA;      A user view.  This is required.&#xA;    </Comments>      </Variable>
          <Variable name='view' input='true'>
            <Comments>&#xA;          An uncommitted ResetUserPassword view.  This will be passed if the&#xA;          "DeferCommit" option was used when creating the view.&#xA;          The user object in the repository will not be updated&#xA;          when the view is checked in, the workflow receives the view&#xA;     and must call the commitView service.&#xA;        </Comments>
          </Variable>
          <Variable name='options' input='true'>
            <Comments>&#xA;          The GenericObject representation of a ProvisioningOptions object.&#xA;          This may contain complex options for the provisioner.&#xA;&#x9;</Comments>
          </Variable>
          <Variable name='accountId' input='true'>
            <Comments>The name of the Lighthouse user to reprovision.</Comments>
          </Variable>
          <Activity id='0' name='start'>
            <Transition to='Commit'>
              <ref>view</ref>
            </Transition>
            <Transition to='Reprovision'/>
            <WorkflowEditor x='43' y='10'/>
          </Activity>
          <Activity id='1' name='Commit'>
            <Action id='0' application='com.waveset.session.WorkflowServices'>
              <Argument name='op' value='commitView'/>
              <Argument name='view' value='$(view)'/>
            </Action>
            <Transition to='Reprovision'/>
            <WorkflowEditor x='30' y='298'/>
          </Activity>
          <Activity id='2' name='Reprovision'>
            <Comments>&#xA;          Since passwords have all been stored in the WSUser&#xA;          object, all we have to do here is reprovision.&#xA;        </Comments>
            <Action id='0' process='Provision'>
              <Argument name='op' value='reProvision'/>
            </Action>
            <Transition to='Get View'/>
            <WorkflowEditor x='102' y='197'/>
          </Activity>
          <Activity id='4' name='Get View'>
            <Comments>Get a read-only view.</Comments>
            <Action id='0' application='com.waveset.session.WorkflowServices'>
              <Argument name='op' value='getView'/>
              <Argument name='type' value='User'/>
              <Argument name='id' value='$(accountId)'/>
            </Action>
            <Action id='-1'>
              <expression>
                <set name='password'>
                  <invoke name='decryptToString'>
                    <ref>view.waveset.password</ref>
                  </invoke>
                </set>
              </expression>
            </Action>
            <Transition to='email user'/>
            <WorkflowEditor x='183' y='118'/>
          </Activity>
          <Activity id='3' name='email user'>
            <Action id='0' application='com.waveset.provision.WorkflowServices'>
              <Argument name='op' value='notify'/>
              <Argument name='template' value='Reset User Password'/>
              <Argument name='toAddress' value='$(accountId.email)'/>
              <Argument name='accountId' value='$(accountId)'/>
              <Argument name='password' value='$(password)'/>
            </Action>
            <Transition to='end'/>
            <WorkflowEditor x='253' y='170'/>
          </Activity>
          <Activity id='5' name='end'>
            <WorkflowEditor x='263' y='291'/>
          </Activity>
        </WFProcess>
      </Extension>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
      </MemberObjectGroups>
      <Properties>
        <Property name='editorOriginalName' value='Reset User Password'/>
      </Properties>
    </TaskDefinition>Email Template
    ============
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE EmailTemplate PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <!--  MemberObjectGroups="#ID#All" id="#ID#5E148460CA532802:17E7691:104797B32D3:-7FFB" name="Reset User Password"-->
    <EmailTemplate id='#ID#5E148460CA532802:17E7691:104797B32D3:-7FFB' name='Reset User Password' creator='Configurator' createDate='1118744962636' lastMod='28' smtpHost='localhost' fromAddress='idm@companyXYZ' htmlEnabled='true'>
      <Comments>&#xA;    Email sent after provisioning has been performed to users that&#xA;    have been registered as "listeners" for an object.&#xA;  </Comments>  <subject>New Password for $(view.waveset.accountId)</subject>
      <body>Password: $(password)</body>
      <MemberObjectGroups>
        <ObjectRef type='ObjectGroup' id='#ID#All' name='All'/>
      </MemberObjectGroups>
      <Properties>
        <Property name='editorOriginalName' value='Reset User Password'/>
      </Properties>
    </EmailTemplate>

  • Basic workflow query

    Hi,
    I am trying to test how workflow works. I have created a button in the form to initiate workflow. The workflow contains simple start --- email notification -- End. So everytime I click the button it should send email notification.
    <!-- MemberObjectGroups="#ID#Top" createDate="Thu Jul 06 17:17:03 CDT 2006" id="#ID#4CD857A30347C2E8:-3462B76:10C453E9D70:-7FF4" name="P1-WF1" visibility="runschedule"-->
    <TaskDefinition id='#ID#4CD857A30347C2E8:-3462B76:10C453E9D70:-7FF4' name='P1-WF1' lock='Configurator#1152287891764' creator='Configurator' createDate='1152224223915' lastModifier='Configurator' lastModDate='1152287591718' lastMod='94' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
    <Extension>
    <WFProcess name='P1-WF1' maxSteps='0'>
    <Activity id='0' name='Start'>
    <Transition to='Email Notification'/>
    <WorkflowEditor x='175' y='22'/>
    </Activity>
    <Activity id='1' name='End'>
    <WorkflowEditor x='376' y='383'/>
    </Activity>
    <Activity id='2' name='Email Notification'>
    <Action id='0' application='com.waveset.provision.WorkflowServices'>
    <Argument name='op' value='notify'/>
    </Action>
    <Transition to='End'/>
    <WorkflowEditor x='376' y='224'/>
    </Activity>
    <WFProcess name='process1' maxSteps='0'>
    </WFProcess>
    </WFProcess>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    <Properties>
    <Property name='editorOriginalName' value='P1-WF1'/>
    </Properties>
    </TaskDefinition>
    Now if I initiate the workflow I should get sometext in notification.txt file as I configured the same in properties file. But after clicking I get the option for launch process and it doesn't show any process. Just wondering what needs to be configured to test simple workflow like this to start with.

    Without a template or toAddress specified, i don't think any mail would be sent.
    Also, how are you invoking the workflow?

  • Workflow skipping some lines

    Hi dudes,
    I hav created a Workflow. Which also calls some rules. I have executed it from admin interface by clicking on 'Run Tasks' tab. It worked fine in the beginning. But after some time the workflow started executing only few lines inside a block and skipping the other statements below that. All the statements are unconditional. For eg, if I hav 2 <set> statements in a block it executes only the first <set>. What could be the problems. Expecting a positive reply experts.
    Thanks in advance

    Hi this is a sample piece of my Workflow.
    <!-- MemberObjectGroups="#ID#Top" createDate="Wed Aug 20 18:44:22 GMT+05:30 2008" extensionClass="WFProcess" id="#ID#2E46860800425F9E:1A1FF9:11BDBCA3059:-7F28" name="CTLR" visibility="runschedule"-->
    <TaskDefinition name='CTLR' creator='Configurator' createDate='1219238062379' lastModifier='Configurator' lastModDate='1219238291825' lastMod='999' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
    <Extension>
    <WFProcess name='CTLR' maxSteps='0'>
    <Activity id='0' name='Initialize'>
    <Action id='0' name='Initialize Variables'>
    <expression>
    <block name='ttt' trace='true'>
    <set name='ctx'>
    <ref>WF_CONTEXT</ref>
    </set>
    <set name='name'>
    <s>565453345</s>
    </set>
    </block>
    </expression>
    </Action>
    <WorkflowEditor x='231' y='144'/>
    </Activity>
    <Activity id='1' name='satrt'>
    <Transition to='Initialize'/>
    <WorkflowEditor x='230' y='34'/>
    </Activity>
    </WFProcess>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    <Properties>
    <Property name='editorOriginalName' value='CTLR'/>
    </Properties>
    </TaskDefinition>
    In this Workflow in the block '<block name='ttt' trace='true'>' only the first <set> is executed. The second <set> is skipped. Any properties to be set?
    Thanks

  • Windows Service Hosted workflow, Stop it with ServiceOperation call?

    I am working on a POC for Scheduling Workflows. I have a workflow hosted with Workflow Services Host. Using a While activity I loop while KeepRunning = true. Using Pick-->PickBranch I have two ServiceOperations running in Receive activities in each
    Branch.  There is a StartWorkflow ServiceOperation in one branch and a StopWorkflow ServiceOperation in another branch. The StartWorkflow operation basically just runs another Workflow called RunWorkflow with a calculated Delay activity between each
    completion. It will loop indefinitely on that RunWorkflow activity until the KeepRunning is set to false. The StopWorkflow ServiceOperation is what changes the KeepRunning flag to false. My problem is that the StartWorkflow operation never completes so that
    the Messaging directed to StopWorkflow can take place. I have used a CorrelationHandle to group the two ServiceOperations together set to a Guid property on the incoming DataContracts (requests). Is there someway to get the StartWorkflow operation to stop
    in this scenario?

    HI Les G. Kinney,
    Welcome to WorkFlow forum.
    Workflow tracing offers a way to capture diagnostic information using .NET Framework trace listeners. Tracing can be enabled if a problem is detected with the application and then disabled again once the problem is resolved.
    According to your description above, it's recommended to enable
    workflow tracing first, it will give some hints why this happens.
    Windows Workflow scheduling services manage how workflow instances are scheduled by the workflow runtime engine. This resource is also available. See:
    https://msdn.microsoft.com/en-us/library/vstudio/ms735790(v=vs.90).aspx
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • A new form calling a workflow - how!?

    Hey,
    I am having trouble getting a new form to call a new workflow. Can anyone show me an example?
    Thanks

    I have now sorted this problem....
    I had to add the process to the Anonymous User Tasks (one items with a hammer in the repository list of the BPE)
    <!-- MemberObjectGroups="#ID#Top" configType="ArrayList" id="#ID#Configuration:AnonymousUserTasks" lastMod="203" lastModifier="Configurator" name="Anonymous User Tasks"-->
    <Configuration id='#ID#Configuration:AnonymousUserTasks' name='Anonymous User Tasks' lock='Configurator#1137403812343' creator='%STARTUP%Configurator' createDate='1125418979453' lastModifier='Configurator' lastModDate='1137403512171' lastMod='203'>
    <Extension>
    <List>
    <List>
    <String>HMRC Activate Account</String>
    </List>
    </List>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    <Properties>
    <Property name='editorOriginalName' value='Anonymous User Tasks'/>
    </Properties>
    </Configuration>
    Also I had to give the Process an Authorization Type of EndUserTask: (authType=EndUserTask - which can be set in the BPE using the gui rather than editing the xml direct - The repository tab has am Athorization Type input field)
    <!-- MemberObjectGroups="#ID#Top" authType="EndUserTask" createDate="Mon Jan 16 09:22:22 GMT 2006" id="#ID#83C73894692744DA:974600:1089EC7FF41:-7F69" name="HMRC Activate Account" taskType="Workflow" visibility="runschedule"-->
    <TaskDefinition authType='EndUserTask' id='#ID#83C73894692744DA:974600:1089EC7FF41:-7F69' name='HMRC Activate Account' creator='Configurator' createDate='1137403342156' lastModifier='Configurator' lastModDate='1137403457906' lastMod='379' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
    <Extension>
    <WFProcess name='HMRC Activate Account' maxSteps='0'>
    <Activity id='0' name='Print To Console'>
    <Action id='0' name='Prove the process is bing called by printing to the console'>
    <expression>
    <block trace='true'>
    <s>*************</s>
    </block>
    </expression>
    </Action>
    <Transition to='end'/>
    <WorkflowEditor x='111' y='68'/>
    </Activity>
    <Activity id='1' name='end'>
    <WorkflowEditor x='222' y='74'/>
    </Activity>
    </WFProcess>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    <Properties>
    <Property name='editorOriginalName' value='HMRC Activate Account'/>
    </Properties>
    </TaskDefinition>

  • Workflow Task Not Completing

    I have an odd one. I have a workflow that we have been using for over a year, (has run over a 1000 times) and have not encountered this issue with it previously. I have 1 particular running instance of the workflow that has a Task that will not
    'complete'.  Other tasks are updating/completing with other instances of the workflow.
    With this particular task, if you Approve or Reject it, the Task record gets updated (Modified date changes), but the Outcome remains blank and the Status remains 'In Progress'. 
    I haven't tried to 'Terminate' the workflow yet as we would like to retain the workflow history.
    Anyone else encounter anything like this before?  Suggestions?

    Hi,
    Based on your description, my understanding is that the workflow task sticks in In Progress status.
    To solve this issue, I recommend to enable the workflow tracing log in SharePoint and check the ULS log for detailed error message.
    http://blogs.technet.com/b/victorbutuza/archive/2009/02/26/how-to-enable-workflow-tracing-debug.aspx
    Here is a similar issue for your reference:
    http://support.microsoft.com/kb/2843542
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Disabling a resource account through workflow

    Hi All,
    How to disable a resource account through a workflow?

    Something like this in your workflow
              <Field name='waveset.disabled'>
                <Expansion>
                  <s>true</s>
                </Expansion>
              </Field>
              <FieldLoop for='name' in='waveset.accounts[*].name'>
                <Field name='accounts[$(name)].disable'>
                  <Expansion>
                    <s>true</s>
                  </Expansion>
                </Field>
                <Field name='TraceExecution'>
                  <Expansion>
                    <block trace='true'>
                      <invoke name='println'>
                        <ref>java.System.out</ref>
                        <concat>
                          <s>ActSyncUserForm Processing Disable For: </s>
                          <ref>name</ref>
                        </concat>
                      </invoke>
                    </block>
                  </Expansion>
                </Field>
                <Field name='update.accounts[$(name)].disable'>
                  <Expansion>
                    <s>true</s>
                  </Expansion>
                </Field>
              </Field>

  • Task executions in multi server environment

    Hi All,
    I have a question regarding the task execution in a multi-server environment.
    Below is the scenario:
    We have two SIM applications: one for intranet users (employees and contractors) and one for extranet users (customers). Both these applications point to same database repository.
    Intranet : idm-intra.ear ( this is deployed on IntraServer1 and IntraServer2)
    Extranet: idm-extra.ear ( this is deployed on ExtraServer1 and ExtraServer2)
    And both share same repository WAVESET.
    Now we are deploying some request workflows for intranet users. In our case even the extranet application can see these tasks.
    My question is: if I triggered a request workflow from intranet application and it is pending for approval and when it times out, is there a chance that this workflow is executed by the "extranet" application?
    Thanks,
    kIDMan.

    The answer to your question is yes. If you go to the Configure>>Server tab in the admin console on any of these instances of IdM you should see all four instances. An easy way to test this is happening, is to enable workflow tracing and launch a couple of request from IntraServer1. IdM will try to distribute the work among all the servers it knows about so you'll see portions of the flow within the workflow traces on the individual servers. Well maybe it's not an easy thing to test because it's a timing issue.......
    I had an issue recently in which the guy doing the build to the QA environment messed up and pointed the QA IdM instances to the DEV repository. We were doing some testing of some flows on DEV and they were being executed on the QA IdM instances and bombing out with ClassNotFound errors because the QA environment was not build out completely/correctly. So even though the requests were being launched from the DEV instances they were being executed on the QA instances.
    There is a feature that is supposed to let you restrict which workflows run on which servers. If you go to the admin console and click on Configure>>Servers choose a server and click on the 'Scheduler' tab and then check the 'Task Restrictions' checkbox. From here you can restrict which workflows run on which servers. But my suspicion is that this doesn't work correctly (based on some testing I was doing on 7.1)....might want to test it out....Hope this helps.

Maybe you are looking for