In Synchro Script, how do I select Tasks based on their Activty Code Value.

When a Task has a certain Activity Code I want to change the Name of that task. In this case I want to add the Activity Code's value in front of the original Task's Name. In Synchro Help I cant find any command/code referring to activity codes.

  • Guest
  • Oct 5 2017
  • FAQ
Company Count & Cooper
  • Dec 4, 2017

    Admin Response

    You can use the following formula:

    TASK(EXIST ACV("New Activity Code") ) SET_PROPERTY(NAME, ACV_ZERO("New Activity Code")+ " " + NAME)


    TASK(EXIST ACV("New Activity Code") )  - this is a condition that only applies the following command to tasks where the "New Activity Code" is assigned

    SET_PROPERTY(NAME, ACV_ZERO("New Activity Code")+ " " + NAME) - this sets the Task Name to the Activity Code value followed by a space followed by the current Task Name

    ACV_ZERO() - returns the Activity Code Value only if there is a value

  • Attach files
  • Mathieu Farine commented
    December 4, 2017 13:10

    Any news about this topic?
    Best regards