How to add custom state and use reframwork

Hi ,
i have one process in that 3 application involved.
i need to check 3 condition before Init state

  1. browser is chrome browser or not
  2. opening Rpa challenge web site
  3. if the vm has excel application or not

i need to add these in new state before init state .if all 3 condition satisfied then it should go to init state otherwise it should end state.
how to customise this , how add transition for the custom state ?

Hi @anand_kumar4

You can use a new state, drag a new state activity and rename like “PreCheck”. Set this as initial state.

Inside this you can check for chrome, IsExcelInstalled , isWebsiteOK and create a boolean variables for three of them accordingly.

then using variables, check if true and only then transition to INIT state, else move to end state.

Hi @anand_kumar4

Add a new state before Init (for example, PreCheck) and make it the initial state. In this state, validate all three conditions and store the results in Boolean variables. Create a transition to Init with the condition that all Booleans are true, and another transition to End when any condition fails.

@anand_kumar4

Add a state with two conditional output lines…connect start to this state instead of init

inside the new state..use a Use Application/Browser and Open RPA challenge , Also add a dummy use excel file …convert both of these in try catch…after these two activities in try set a boolean to true and in catch set boolean to false…use the boolean to set the transition to init or end states as you need

cheers