Help on workflow for creating related record

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • camille
    Member
    • Mar 2020
    • 60

    Help on workflow for creating related record

    Hi,

    I’m building a workflow that creates a new ‘Account Value’ when an account is moved to a status of ‘Cancelled’. The Account Value is an entity related to the account.

    The Account has a field called ARR (Annual Recurring Revenue) that sums all of the Account Values that have a type equal to recurring (it’s populated through a workflow). The value of the new cancelled Account Value should be the negative value of the ARR (-ARR).

    The current workflow I have is working in that when an account’s status is moved to cancelled, a new Account Value is created. The problem is that the Value is blank - it is not populating the value with negative ARR.

    Any suggestions on how to fix this or why this might be happening? Thanks so much in advance!
    Last edited by camille; 08-21-2024, 04:42 PM.
  • victor
    Active Community Member
    • Aug 2022
    • 729

    #2
    I created a similar worflow, which creates an opportunity when the account's description changes.
    From the arr field with the Currency type, the negative value is perfectly transferred to the amount field of the created opportunity (screenshots 1, 2 and 3).

    Maybe you should send screenshots of your workflow and say what field types are used for your arr field in the Account entity and for the arr field in the Account Transaction entity.​
    Attached Files

    Comment

    • camille
      Member
      • Mar 2020
      • 60

      #3
      Hey victor, thanks for your response! I've attached screenshots of the current workflow.

      Both the ARR field in the Account entity and the Value field in the Account Value entity are currency fields.
      Attached Files

      Comment

      • victor
        Active Community Member
        • Aug 2022
        • 729

        #4
        Try adding ";" to your Actions formula. Works great for me:

        Click image for larger version

Name:	image.png
Views:	81
Size:	46.8 KB
ID:	109644

        Comment

        • camille
          Member
          • Mar 2020
          • 60

          #5
          victor That worked, thanks so much!

          Comment

          Working...