Initialize variables
Good Morning
I am looking to start a variable with the current year, try to assign the value to it using the DateTime.Now.ToString ("yyyy") code in an inline function activity, however when loading the form this variable contains no data.
Can a process be started with an activity instead of a start task?

Is there another way that I can approach this functionality and display it on the form when loading for the first time?
Regards.
-
正式なコメント
Hi Christian,
Please use "UpdateProcessData" activity with the DateTime.Now.ToString ("yyyy") code. After you submit the start task form, the "Start" activity will be activated , followed by "UpdateProcessdata", then your "Start task" activity will get auto-completed. So yes you can have an activity before 'Start task"
https://documentation.agilepoint.com/8000/appbuilder/cloudenvShapeUpdateCustomAttributes.html
Hope this helps! Thanks.
コメントアクション -
Hi Christian,
If you would like to display the information in Start task form, then you need to add a JavaScript to the eForm , calculate the year and set the value to a eForm field.
https://documentation.agilepoint.com/8000/appbuilder/cloudjsSetFieldValue.html
Thanks.
サインインしてコメントを残してください。
コメント
4件のコメント