Question
Barclays
IN
Last activity: 21 Feb 2022 1:58 EST
Change BOX folder dynamically for attachments of same case type.
I have requirement where I have implemented BOX integration and connected my application with BOX folder. Now I have created two different folder under connected folder e.g. London and Mumbai. I have dropdown on case to select customer office location. If customer belongs to London location then all attachment for that case should go to London folder and same applicable to Mumbai office.
I checked multiple ways but there is no extension point to change folder ID of BOX folder. Box folder ID is stored at Application.pyWebStorageTarget.pyFolderId and it used as directly referenced in activity pzSaveToWebStorage step 2. Is there any other way to achieve this requirement.
@Girish Gaikwad
As you mentioned we will not have extension points in activity which pega use for placing file in external system repository.
You could create your own activity in which you will be having logic to place file in box by passing box folder id dynamically, you could invoke your custom activity in pySaveFileContent pega OOTB activity... pySaveFileContent activity is responsible for placing file in external/internal repository.
Attached screen-shot for reference.