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.
***Edited by Moderator: Pooja Gadige to move from Pega Academy to Product, add capability tag***
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.
@Girish_Gaikwad There is a delcare expression on pyFolderId. Try to customize it according to your requriements. That is the only place we can do it without having to customize the activity. If the declare expression is not possible then other option is to manually update the Property on the Application.pyWebStorageTarget.pyFolderId before the attachments are uploaded to the repository.