Basic Mathematical Operations

  •  Mathematical calculations simply includes plus (+), minus (-), divide (/) and multiply (*) operations.
  •  For Execution, Three input properties and one output property is required.

 

Input Properties:

1.Field with Decimal Type for taking first number as input.

2. Field with Decimal Type for taking second number as input.

3. Field with String Type for taking symbol as input for required MATH operation. (+|-|*|/).

1

 

Output PropertiesField with Decimal Type for holding the Result.

2

Execution Steps of Workflow:

  •  Write the Source code and register the dll file using plugin registration tool.
  •  Go to “Processes” Entity and create new process by clicking on NEW.

 

3

  • ·Enter Process Name, Select category as Workflow, Select Entity on which you wish to fire and Check Type as New blank Process. Click on Ok.

 

 

4

  • Check “START WHEN”, this decides when your workflow should fire.

 

 

5

  •  Click on Add Step, select your workflow.
  •  Add another step “UPDATE RECORD” for output to display. This displays the output when the record is updated.

 

6

  •  Now Click on Set Properties to set input and output properties.
  • Activate the Process by clicking on “Activate ” button.
  • Select the required entity and fields and click Add then OK.

 

 

7

 

  • Select the field which displays output and set workflow into it by clicking on entity fields and click add and then ok.

 

8

  •  This completes the setting of input and output properties.
  •  Now go to entity forms and provide input values and click on save.
  •  Check into system jobs entity to know whether the workflow got succeeded or not.

 

Conversion of Field Types:

  •  This simply includes converting one field type to another.(String –>Decimal,Double,Money)
  •  For execution one input and one output properties are required.

 

Input property:  Field with String Type for taking input.

Output property: Field with Decimal Type for displaying output.

Execution Steps of Workflow:

  • Write the source code and register it with plugin registration tool.
  •  Go to Process Entity, Create new process by giving all the required data.
  •  Check “START WHEN” to decide when the workflow should fire.
  •  Click on Add Step, select your workflow.
  •  Add another step “UPDATE RECORD” for output to display. This displays the output when the record is updated.
  • Now Click on Set Properties to set input and output properties.

 

 

9

 

  •  For input select the entity and also the field to give input value and then click on add and ok.

 

10

  • For output select the workflow and the type, click on add and then ok.
  •  This completes the setting of input and output properties.
  •  Now go to entity forms and provide input values and click on save.
  •  Check into system jobs entity to know whether the workflow got succeeded or not.

About Apps Now

Apps Now offers latest reads on Microsoft Technologies and Business Applications in an easily understandable and digestible manner for you to drive some mileage out of it. Keep following Apps Now to learn new technologies and best coding practices.

See more blogs from Apps Now

No Comments

Add a Comment

  1. (max length 2000)
  2. captcha refresh captcha
Please Wait