Can we trigger a quick task from SAIL Code?

Can we trigger a quick task from SAIL Code?

OriginalPostID-157882

OriginalPostID-157882

  Discussion posts and replies are publicly visible

Parents
  • @navajithh Possibly not directly to the best of my knowledge, but you could implement it indirectly by making use of bind ( https://forum.appian.com/suite/help/7.10/Evaluation_Functions.html#bind.28.29 ) and startprocesswrite ( https://forum.appian.com/suite/tempo/records/type/components/item/i8BCLGOdlMUpdGVqT-RV7oRg74uEGJO5yQeCToV_iK9c-uZFaHQndbxbAQOV2CNBg/view/summary ). A high level pseudocode can be as follows:
    1. Implement a process which accepts process id and sends the message to the process id which has come via input.
    2. Using bind and startprocesswrite in the current SAIL interface, trigger the process created in Step - 1 by sending the process id of the desired process in which you may want to create a quick task. The process can be a current process (the SAIL interface on which you are working currently) or some other process, but make sure that you do have a process id in hand.
    3. Upon receiving the message in the process (or current process) from Step - 1, perform the desired activities(namely quick task creation in your case)

    Note: startprocesswrite is shared component and some customers may not be interested in the usage of shared component.
Reply
  • @navajithh Possibly not directly to the best of my knowledge, but you could implement it indirectly by making use of bind ( https://forum.appian.com/suite/help/7.10/Evaluation_Functions.html#bind.28.29 ) and startprocesswrite ( https://forum.appian.com/suite/tempo/records/type/components/item/i8BCLGOdlMUpdGVqT-RV7oRg74uEGJO5yQeCToV_iK9c-uZFaHQndbxbAQOV2CNBg/view/summary ). A high level pseudocode can be as follows:
    1. Implement a process which accepts process id and sends the message to the process id which has come via input.
    2. Using bind and startprocesswrite in the current SAIL interface, trigger the process created in Step - 1 by sending the process id of the desired process in which you may want to create a quick task. The process can be a current process (the SAIL interface on which you are working currently) or some other process, but make sure that you do have a process id in hand.
    3. Upon receiving the message in the process (or current process) from Step - 1, perform the desired activities(namely quick task creation in your case)

    Note: startprocesswrite is shared component and some customers may not be interested in the usage of shared component.
Children
No Data