Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  addUpdateDataStatement

    Posted 06-05-2025 19:10

    mikehardie | 2019-09-06 01:31:19 UTC | #1

    Hi, when creating a new Update Data Action I am unsure of the value for the first field

    const anUpdateData = scriptingActionFactory.addActionUpdateData( startupTask, 'update the data' ); anUpdateData.addUpdateDataStatement( ArchVariableInteger, 'Task.var1', '3' )

    The addUpdateDataStatement returns an error for the ArchVariableInteger entry for the first field as below

    ERROR! ArchFactoryFlows.createFlowInboundCallAsync - Caught unhandled exception during callback function execution. Ending session. Exception info: ReferenceError: ArchVariableInteger is not defined -- [ArchFactoryFlows]

    What should be passed in this field?

    Mike


    MelissaBailey | 2019-09-09 15:40:38 UTC | #2

    const anUpdateData = actionFactory.addActionUpdateData(startupTask, 'update the data');

    anUpdateData.addUpdateDataStatement(archFlow.dataTypes.integer, 'Task.var1', '3');


    mikehardie | 2019-09-09 23:22:33 UTC | #3

    Thanks Melissa, that worked a treat

    Mike


    system | 2019-10-10 23:22:35 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 5972